Skip to content

Commit

Permalink
Fix CI not passing due to tsc having to run pre-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 20, 2023
1 parent 484a2e3 commit 2efe9b1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,21 @@ jobs:
- name: yarn install
run: |
node --version
yarn
yarn install --immutable --immutable-cache --check-cache
env:
CI: true
FORCE_COLOR: 1

# TS must run before we check dependencies since otherwise our exports map points to nothing.
- name: Typescript
run: yarn lerna run tsc

- name: Eslint
run: yarn eslint . --ext .js --ext .ts
- name: Test inquirer package (current version)
run: yarn lerna exec npm test --scope inquirer
- name: Test monorepo packages (new version)
run: |
yarn lerna run tsc
yarn jest
run: yarn jest

- name: Upload code coverage
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit 2efe9b1

Please sign in to comment.