Skip to content

Commit 2aa9b54

Browse files
committed
Upgrade Node.js version to 22
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 5b28451 commit 2aa9b54

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: Perform CI
22

33
on:
4-
- pull_request
54
- push
5+
- pull_request
66

77
jobs:
88
CI:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Install Node.js
13-
uses: actions/setup-node@v4
12+
- uses: actions/setup-node@v4
1413
with:
1514
node-version-file: .nvmrc
15+
check-latest: true
1616
- run: npm ci
1717
- run: npm run lint

.github/workflows/deploy.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,16 @@ jobs:
2222
url: ${{ steps.deployment.outputs.page_url }}
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: Checkout
26-
uses: actions/checkout@v4
27-
- name: Install Node.js
28-
uses: actions/setup-node@v4
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-node@v4
2927
with:
3028
node-version-file: .nvmrc
29+
check-latest: true
3130
- run: npm ci
3231
- run: npm run build
33-
- name: Setup Pages
34-
uses: actions/configure-pages@v5
35-
- name: Upload artifact
36-
uses: actions/upload-pages-artifact@v3
32+
- uses: actions/configure-pages@v5
33+
- uses: actions/upload-pages-artifact@v3
3734
with:
3835
path: _site
39-
- name: Deploy to GitHub Pages
36+
- uses: actions/deploy-pages@v4
4037
id: deployment
41-
uses: actions/deploy-pages@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"stylelint-config-standard-scss": "13.1.0"
3434
},
3535
"engines": {
36-
"node": ">=20"
36+
"node": ">=22"
3737
}
3838
}

0 commit comments

Comments
 (0)