Skip to content

feat add ci and correct eslint error #1

feat add ci and correct eslint error

feat add ci and correct eslint error #1

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
eslint-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.2
with:
node-version: 20
cache: 'pnpm'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: CI, Linter and Build
run: |
pnpm ci --legacy-peer-deps
pnpm run lint
pnpm run build