Skip to content

Commit 3119c76

Browse files
committed
Update CI build step versions
1 parent 58163ca commit 3119c76

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,13 @@ jobs:
1414
os: "macos-11"
1515
runs-on: ${{ matrix.os }}
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818

19-
- uses: actions/setup-node@v1
19+
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
22-
23-
- name: Get npm cache directory
24-
id: npm-cache
25-
run: |
26-
echo "::set-output name=dir::$(npm config get cache)"
27-
- uses: actions/cache@v2
28-
with:
29-
path: ${{ steps.npm-cache.outputs.dir }}
30-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
31-
restore-keys: |
32-
${{ runner.os }}-node-
21+
node-version: 18
22+
check-latest: true
23+
cache: 'npm'
3324

3425
- run: npm ci
3526

0 commit comments

Comments
 (0)