Skip to content

Commit

Permalink
Run CI on node 14, but skip unit tests until jestjs/jest#11438 is solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennor committed Nov 22, 2021
1 parent 8b4ee4b commit e8a1420
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
node: [16]
node: [16, 14]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -39,6 +39,7 @@ jobs:
run: npm run lint
- name: run tests
run: npm run test
if: matrix.node === 16 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
- name: build library for e2e tests
run: npm run build
- name: build integration tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
strategy:
matrix:
node: [16]
node: [16, 14]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -33,6 +33,7 @@ jobs:
run: npm run lint
- name: run tests
run: npm run test
if: matrix.node === 16 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
- name: build library for e2e tests
run: npm run build
- name: build integration tests
Expand Down

0 comments on commit e8a1420

Please sign in to comment.