Skip to content

Commit

Permalink
chore(ci): split TS and ESLint runs on CI (#12630)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 4, 2022
1 parent b096941 commit f88b7db
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit f88b7db

Please sign in to comment.