Skip to content

Commit 4560bd9

Browse files
committed
ci(test.yml): set version v3 to actions/checkout
1 parent b28e014 commit 4560bd9

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
name: Test
2-
on:
2+
"on":
33
push:
44
branches:
55
- main
66
pull_request:
7-
types: [opened, synchronize]
8-
7+
types:
8+
- opened
9+
- synchronize
910
jobs:
1011
test_matrix:
1112
runs-on: ubuntu-latest
1213
strategy:
1314
matrix:
14-
node_version: ["12", "14"]
15-
15+
node_version:
16+
- "12"
17+
- "14"
1618
steps:
17-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
1820
- name: Use Node.js ${{ matrix.node_version }}
1921
uses: actions/setup-node@v2
2022
with:
@@ -28,9 +30,6 @@ jobs:
2830
${{ runner.os }}-node-
2931
- run: npm ci
3032
- run: npm test
31-
32-
# The "test" step can be required in branch protection and does not
33-
# change each time the test matrix changes.
3433
test:
3534
runs-on: ubuntu-latest
3635
needs: test_matrix

0 commit comments

Comments
 (0)