Skip to content

Commit 8061852

Browse files
committed
build(test.yml): set node-version to 16
1 parent 5fc65e4 commit 8061852

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 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 }}
@@ -31,9 +26,6 @@ jobs:
3126
cache: npm
3227
- run: npm ci
3328
- run: npm run test:ci
34-
35-
# separate job to set as required in branch protection,
36-
# as the build names above change each time Node versions change
3729
test:
3830
runs-on: ubuntu-latest
3931
needs: test_matrix
@@ -42,5 +34,6 @@ jobs:
4234
- uses: actions/setup-node@v2
4335
with:
4436
cache: npm
37+
node-version: 16
4538
- run: npm ci
4639
- run: npm run lint

0 commit comments

Comments
 (0)