Skip to content

Commit 550429b

Browse files
committed
ci: fix github actions no status
1 parent efcad86 commit 550429b

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/e2e.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ jobs:
66
test:
77
name: e2e
88
runs-on: ubuntu-20.04
9-
container: node:14
9+
strategy:
10+
matrix:
11+
node-version: [12.x, 14.x, 15.x, 16.x]
1012
steps:
1113
- uses: actions/checkout@v2
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node-version }}
1218
- name: yarn test:e2e
1319
run: |
14-
yarn install
15-
yarn test:e2e
20+
yarn install
21+
yarn test:e2e

.github/workflows/test.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ jobs:
66
test:
77
name: test
88
runs-on: ubuntu-20.04
9-
container: node:14
9+
strategy:
10+
matrix:
11+
node-version: [12.x, 14.x, 15.x, 16.x]
1012
steps:
1113
- uses: actions/checkout@v2
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node-version }}
1218
- name: Generate coverage report
1319
run: |
1420
yarn install

0 commit comments

Comments
 (0)