Skip to content

Commit 5cbe802

Browse files
committed
Update workflows node version to 20
1 parent 42d232f commit 5cbe802

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
17+
node-version: 20
1818
- run: yarn install --ignore-scripts
1919
- run: yarn run ci:prettier-check
2020
- run: yarn run lint
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: true
2727
matrix:
28-
node-version: [12]
28+
node-version: [20]
2929
os: [ubuntu-latest, windows-latest, macOS-latest]
3030

3131
steps:
@@ -34,4 +34,4 @@ jobs:
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636
- run: yarn install --ignore-scripts
37-
- run: yarn run ci:test
37+
- run: yarn run ci:test

.github/workflows/publish-prerelease-npm.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
18-
registry-url: https://registry.npmjs.org/
17+
node-version: 20
18+
registry-url: https://registry.npmjs.org/
1919
- run: yarn install --ignore-scripts
2020
- run: yarn build
2121
- run: npm publish --access=public --tag beta
2222
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24-
IS_CI: "true"
23+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24+
IS_CI: 'true'

.github/workflows/publish-stable-npm.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
18-
registry-url: https://registry.npmjs.org/
17+
node-version: 20
18+
registry-url: https://registry.npmjs.org/
1919
- run: yarn install --ignore-scripts
2020
- run: yarn build
2121
- run: npm publish --access=public
2222
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24-
IS_CI: "true"
23+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24+
IS_CI: 'true'

0 commit comments

Comments
 (0)