Skip to content

Commit 19e8db0

Browse files
committed
fix: downgrade Node.js version to 16 in deployment workflow
1 parent ddcc741 commit 19e8db0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deployment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v2
2424
- uses: actions/setup-node@v1
2525
with:
26-
node-version: 18
26+
node-version: 16
2727
- uses: microsoft/playwright-github-action@v1
2828
- uses: actions/cache@v3
2929
with:
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@v2
4343
- uses: actions/setup-node@v1
4444
with:
45-
node-version: 18
45+
node-version: 16
4646
- uses: microsoft/playwright-github-action@v1
4747
- uses: actions/cache@v3
4848
with:
@@ -68,15 +68,15 @@ jobs:
6868
fetch-depth: 0
6969
- uses: actions/setup-node@v2
7070
with:
71-
node-version: '18.x'
71+
node-version: '16.x'
7272
registry-url: 'https://registry.npmjs.org'
7373
- 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 ci
79+
- run: npm install
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)