Skip to content

Commit 721837c

Browse files
ci: update the versions of actions/checkout and actions/setup-node
Reference: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
1 parent 6565c8e commit 721837c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ jobs:
1515
node-version: [14, 16]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
1921
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2123
with:
2224
node-version: ${{ matrix.node-version }}
23-
- run: npm ci
24-
- run: npm test
25-
env:
26-
CI: true
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Run tests
30+
run: npm test

0 commit comments

Comments
 (0)