Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit e3ea204

Browse files
committed
build(test.yml): set node-version to 16
1 parent 568e733 commit e3ea204

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: Test
2-
3-
on:
2+
"on":
43
push:
54
branches:
65
- master
76
- renovate/**
8-
97
pull_request:
108
types:
119
- opened
1210
- synchronize
13-
1411
jobs:
1512
test_matrix:
1613
strategy:
@@ -19,9 +16,7 @@ jobs:
1916
- 10
2017
- 12
2118
- 14
22-
2319
runs-on: ubuntu-latest
24-
2520
steps:
2621
- uses: actions/checkout@v2
2722
- name: Use Node.js ${{ matrix.node-version }}
@@ -30,15 +25,14 @@ jobs:
3025
node-version: ${{ matrix.node-version }}
3126
- uses: bahmutov/npm-install@v1
3227
- run: npm run test
33-
34-
# separate job to set as required in branch protection,
35-
# as the build names above change each time Node versions change
3628
test:
3729
runs-on: ubuntu-latest
3830
needs: test_matrix
3931
steps:
4032
- uses: actions/checkout@v2
4133
- uses: actions/setup-node@v1
34+
with:
35+
node-version: 16
4236
- uses: bahmutov/npm-install@v1
4337
- run: find ./scripts -type f -exec "shellcheck" "-x" {} \;
4438
- run: docker build -t semanticrelease/npm-registry-docker .

0 commit comments

Comments
 (0)