diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7fdbb93b150c..7281963ff76c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -38,8 +38,8 @@ jobs: YARN_ENABLE_SCRIPTS: false run: yarn --immutable - lint-and-typecheck: - name: Running TypeScript compiler & ESLint + typecheck: + name: Running TypeScript compiler runs-on: ubuntu-latest needs: prepare-yarn-cache @@ -57,6 +57,22 @@ jobs: run: yarn test-types - name: verify TypeScript@4.2 compatibility run: yarn verify-old-ts + + lint: + name: Running ESLint + runs-on: ubuntu-latest + needs: prepare-yarn-cache + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: lts/* + cache: yarn + - name: install + run: yarn --immutable + - name: build + run: yarn build:js - name: verify Yarn PnP compatibility run: yarn verify-pnp - name: run eslint