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

Commit a02ef61

Browse files
committed
build(test.yml): set node-version to 16
1 parent cd50121 commit a02ef61

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 }}
@@ -32,9 +27,6 @@ jobs:
3227
- uses: UziTech/action-setup-atom@v1
3328
- run: npm ci
3429
- run: npm run test:ci
35-
36-
# separate job to set as required in branch protection,
37-
# as the build names above change each time Node versions change
3830
test:
3931
runs-on: ubuntu-latest
4032
needs: test_matrix
@@ -43,5 +35,6 @@ jobs:
4335
- uses: actions/setup-node@v2
4436
with:
4537
cache: npm
38+
node-version: 16
4639
- run: npm ci
4740
- run: npm run lint

0 commit comments

Comments
 (0)