Skip to content

Commit ddcc741

Browse files
author
alexperez
committed
fix: update Node.js version to 18 and actions/cache to version 3 in deployment workflow
1 parent 047a7e9 commit ddcc741

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/deployment.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- uses: actions/checkout@v2
2424
- uses: actions/setup-node@v1
2525
with:
26-
node-version: 16
26+
node-version: 18
2727
- uses: microsoft/playwright-github-action@v1
28-
- uses: actions/cache@v2
28+
- uses: actions/cache@v3
2929
with:
3030
path: ~/.npm
3131
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -42,9 +42,9 @@ jobs:
4242
- uses: actions/checkout@v2
4343
- uses: actions/setup-node@v1
4444
with:
45-
node-version: 16
45+
node-version: 18
4646
- uses: microsoft/playwright-github-action@v1
47-
- uses: actions/cache@v1
47+
- uses: actions/cache@v3
4848
with:
4949
path: ~/.npm
5050
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -68,15 +68,15 @@ jobs:
6868
fetch-depth: 0
6969
- uses: actions/setup-node@v2
7070
with:
71-
node-version: '16.x'
71+
node-version: '18.x'
7272
registry-url: 'https://registry.npmjs.org'
73-
- uses: actions/cache@v1
73+
- uses: actions/cache@v3
7474
with:
7575
path: ~/.npm
7676
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
7777
restore-keys: |
7878
${{ runner.os }}-node-
79-
- run: npm install
79+
- run: npm ci
8080
- name: Read version from package.json
8181
uses: culshaw/read-package-node-version-actions@v1
8282
id: package-node-version

0 commit comments

Comments
 (0)