Skip to content

Commit 5784c0b

Browse files
author
alexperez
committed
fix: update Node.js version to 16 in deployment workflow
1 parent fdbd750 commit 5784c0b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/deployment.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-20.04]
21-
# os: [ubuntu-18.04, ubuntu-20.04]
2221
runs-on: ${{ matrix.os }}
2322
steps:
2423
- uses: actions/checkout@v2
2524
- uses: actions/setup-node@v1
2625
with:
27-
node-version: 14
26+
node-version: 16
2827
- uses: microsoft/playwright-github-action@v1
2928
- uses: actions/cache@v1
3029
with:
@@ -43,7 +42,7 @@ jobs:
4342
- uses: actions/checkout@v2
4443
- uses: actions/setup-node@v1
4544
with:
46-
node-version: 14
45+
node-version: 16
4746
- uses: microsoft/playwright-github-action@v1
4847
- uses: actions/cache@v1
4948
with:
@@ -58,7 +57,7 @@ jobs:
5857
tag:
5958
name: "Publishing release"
6059
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
61-
needs:
60+
needs:
6261
- test_linux
6362
- test_win
6463
runs-on: ubuntu-latest
@@ -69,7 +68,7 @@ jobs:
6968
fetch-depth: 0
7069
- uses: actions/setup-node@v2
7170
with:
72-
node-version: '14.x'
71+
node-version: '16.x'
7372
registry-url: 'https://registry.npmjs.org'
7473
- uses: actions/cache@v1
7574
with:
@@ -98,4 +97,4 @@ jobs:
9897
prerelease: false
9998
- run: npm publish --access public
10099
env:
101-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)