diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3a4a112..aa706c7 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,14 +17,13 @@ jobs: node-version: [14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm i - - run: npm run format:check - - run: npm run lint - - run: npm run test:ci - - run: npm run build + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm i + - run: npm run lint:ci + - run: npm run test:ci + - run: npm run build diff --git a/package.json b/package.json index 18ea1d0..9e933da 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "clean": "rimraf dist", "playground": "unbuild --stub && nodemon \"playground/server.ts\"", "lint": "eslint --fix \"**/*\"", + "lint:ci": "eslint \"**/*\"", "test": "vitest --coverage", "test:ci": "vitest run --coverage" },