Skip to content

Commit 5ebcc86

Browse files
authored
chore(node): upgrade node 17 ci (#486)
1 parent 60c8461 commit 5ebcc86

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,37 @@ jobs:
1010
- name: Use Node.js
1111
uses: actions/[email protected]
1212
with:
13-
node-version: 14
13+
node-version: 17
1414
cache: 'yarn'
1515
- run: yarn
1616
- run: yarn run lint
1717
test:
1818
runs-on: ubuntu-20.04
19+
strategy:
20+
matrix:
21+
node: [ '14', '16', '17' ]
1922
steps:
2023
- uses: actions/[email protected]
2124
- name: Use Node.js
2225
uses: actions/[email protected]
2326
with:
24-
node-version: 14
27+
node-version: ${{ matrix.node }}
2528
cache: 'yarn'
2629
- run: yarn
2730
- run: yarn run test:coverage
2831
- uses: codecov/[email protected]
2932
build:
3033
runs-on: ubuntu-20.04
34+
strategy:
35+
matrix:
36+
node: [ '14', '16', '17' ]
3137
needs: [lint, test]
3238
steps:
3339
- uses: actions/[email protected]
3440
- name: Use Node.js
3541
uses: actions/[email protected]
3642
with:
37-
node-version: 14
43+
node-version: ${{ matrix.node }}
3844
- run: yarn --pure-lockfile
3945
- run: yarn run build
4046
deploy:
@@ -57,7 +63,7 @@ jobs:
5763
- name: Use Node.js
5864
uses: actions/[email protected]
5965
with:
60-
node-version: 14
66+
node-version: 17
6167
- run: yarn --pure-lockfile
6268
- run: yarn run build
6369
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc

.github/workflows/pull_request_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Use Node.js
1313
uses: actions/[email protected]
1414
with:
15-
node-version: 16
15+
node-version: 17
1616
cache: 'yarn'
1717
- run: yarn
1818
- run: echo '${{ github.event.pull_request.title }}' | yarn run commitlint

0 commit comments

Comments
 (0)