diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b8d5afe..7ed2ef3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,11 +32,14 @@ jobs: - name: Install dependencies run: yarn install --skip-integrity-check --non-interactive --no-progress - - name: Lint - run: | - yarn tsc - yarn lint - yarn lint:vti + - name: TypeScript check + run: yarn tsc + + - name: Eslint check + run: yarn lint:script + + - name: Vetur check + run: yarn lint:vti - name: Unit test run: yarn test:unit diff --git a/package.json b/package.json index 7b091e2..8123709 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "vite build", "lint:script": "eslint \"{src,cypress}/**/*.{js,ts,vue}\"", "lint:vti": "vti diagnostics", - "lint": "yarn tsc && yarn lint:script && yarn lint:vti", + "lint": "concurrently 'yarn tsc' 'yarn lint:script' 'yarn lint:vti'", "test:unit": "jest --coverage", "test:e2e": "yarn build && concurrently -k \"serve dist\" \"cypress run -c baseUrl=http://localhost:5000\"", "test:e2e:ci": "cypress run -C cypress.prod.json",