Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 474f853

Browse files
authored
chore: update actions/checkout to v2 (#146)
1 parent 80d617b commit 474f853

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
container: ["node:8", "node:10", "node:12", "node:14", "node:16"]
13+
node: ["8", "10", "12", "14", "16"]
1414
runs-on: ubuntu-latest
15-
container:
16-
image: ${{ matrix.container }}
1715
steps:
1816
- name: Checkout
19-
uses: actions/checkout@v1
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: ${{ matrix.node }}
2023

2124
- name: Install Dependencies
2225
run: npm install
@@ -29,18 +32,19 @@ jobs:
2932

3033
- name: Report Coverage
3134
run: npm run codecov
32-
if: ${{ matrix.container == 'node:14' }}
35+
if: ${{ matrix.node == '14' }}
3336

3437
browser-tests:
3538
runs-on: ubuntu-latest
3639
container:
3740
image: circleci/node:12-browsers
3841
steps:
39-
- name: Checkout
40-
uses: actions/checkout@v1
4142
- name: Permission Setup
4243
run: sudo chmod -R 777 /github /__w
4344

45+
- name: Checkout
46+
uses: actions/checkout@v2
47+
4448
- name: Install Dependencies
4549
run: npm install
4650

0 commit comments

Comments
 (0)