Skip to content

Commit 1586350

Browse files
committedOct 16, 2024
update node version
1 parent 846776f commit 1586350

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed
 

‎.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout Project
15-
uses: actions/checkout@v3
16-
- name: Use Node.js v18
17-
uses: actions/setup-node@v3
15+
uses: actions/checkout@v4
16+
- name: Use Node.js v20
17+
uses: actions/setup-node@v4
1818
with:
19-
node-version: 18
19+
node-version: 20
2020
check-latest: true
2121
cache: yarn
2222
registry-url: https://registry.npmjs.org/
@@ -30,11 +30,11 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout Project
33-
uses: actions/checkout@v3
34-
- name: Use Node.js v18
35-
uses: actions/setup-node@v3
33+
uses: actions/checkout@v4
34+
- name: Use Node.js v20
35+
uses: actions/setup-node@v4
3636
with:
37-
node-version: 18
37+
node-version: 20
3838
cache: yarn
3939
registry-url: https://registry.npmjs.org/
4040
- name: Install Dependencies

‎.github/workflows/continuous-integration.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout Project
15-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
15+
uses: actions/checkout@v4
1616
- name: Add problem matcher
1717
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
18-
- name: Use Node.js v16
19-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
18+
- name: Use Node.js v20
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: 16
21+
node-version: 20
2222
cache: yarn
2323
registry-url: https://registry.npmjs.org/
2424
- name: Install Dependencies
@@ -31,13 +31,13 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout Project
34-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
34+
uses: actions/checkout@v4
3535
- name: Add problem matcher
3636
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
37-
- name: Use Node.js v16
38-
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
37+
- name: Use Node.js v20
38+
uses: actions/setup-node@v4
3939
with:
40-
node-version: 16
40+
node-version: 20
4141
cache: yarn
4242
registry-url: https://registry.npmjs.org/
4343
- name: Install Dependencies

‎.github/workflows/npm-publish-github-packages.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 20
2525
cache: 'yarn'
@@ -33,8 +33,8 @@ jobs:
3333
contents: read
3434
packages: write
3535
steps:
36-
- uses: actions/checkout@v3
37-
- uses: actions/setup-node@v3
36+
- uses: actions/checkout@v4
37+
- uses: actions/setup-node@v4
3838
with:
3939
node-version: 20
4040
registry-url: https://npm.pkg.github.com/

‎.github/workflows/npm-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: '18.x'
14+
node-version: '20.x'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: yarn
1717
- run: yarn run build

0 commit comments

Comments
 (0)
Please sign in to comment.