Skip to content

Commit e8a1420

Browse files
committed
Run CI on node 14, but skip unit tests until jestjs/jest#11438 is solved
1 parent 8b4ee4b commit e8a1420

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: "!contains(github.event.head_commit.message, '[ci skip]')"
1414
strategy:
1515
matrix:
16-
node: [16]
16+
node: [16, 14]
1717
platform: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.platform }}
1919
steps:
@@ -39,6 +39,7 @@ jobs:
3939
run: npm run lint
4040
- name: run tests
4141
run: npm run test
42+
if: matrix.node === 16 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
4243
- name: build library for e2e tests
4344
run: npm run build
4445
- name: build integration tests

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
strategy:
99
matrix:
10-
node: [16]
10+
node: [16, 14]
1111
platform: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.platform }}
1313
steps:
@@ -33,6 +33,7 @@ jobs:
3333
run: npm run lint
3434
- name: run tests
3535
run: npm run test
36+
if: matrix.node === 16 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
3637
- name: build library for e2e tests
3738
run: npm run build
3839
- name: build integration tests

0 commit comments

Comments
 (0)