Skip to content

Commit e950330

Browse files
authored
feat!: ES2024に対応 (#1761)
1 parent d94d606 commit e950330

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919
- run: npm install
2020
- run: npm run build
2121
- name: Deploy

.github/workflows/link-check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
name: Link Check
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Setup Node.js
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version: 22
2121
- run: npm ci
2222
- run: npm run textlint-sarif
2323
- name: Upload SARIF file

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
node-version: [20]
17+
node-version: [22]
1818
os: [macOS-latest, windows-latest, ubuntu-latest]
1919
name: "Build on Node.js: ${{ matrix.node-version }} OS: ${{ matrix.os }}"
2020
steps:
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
strategy:
3131
matrix:
32-
node-version: [20, 22.5.1]
32+
node-version: [20, 22]
3333
name: "Test on Node.js ${{ matrix.node-version }}"
3434
steps:
3535
- uses: actions/checkout@v4
@@ -47,6 +47,6 @@ jobs:
4747
- name: Setup Node.js
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: 20
50+
node-version: 22
5151
- run: npm ci
5252
- run: npm run e2e

.node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.4.1
1+
v22.7.0

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,16 @@ IssueやPull Requestについては、次のページを参照してください
7777

7878
## Installation
7979

80-
npm install
80+
# corepackを有効化
81+
corepack enable
82+
# インストール
83+
npm ci
8184

82-
Node.js v22.4.1以上とnpm 10.8.2以上が必要です
85+
開発は次のバージョンのNode.jsとnpmで行われています
8386

8487
```
8588
$ node -v
86-
v22.4.1
89+
v22.7.0
8790
$ npm -v
8891
10.8.2
8992
```

book.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"sandpack"
2020
],
2121
"variables": {
22-
"esversion": "2023",
23-
"nodeversion": "20.11.1",
24-
"npmversion": "10.2.4",
22+
"esversion": "2024",
23+
"nodeversion": "22.7.0",
24+
"npmversion": "10.8.2",
2525
"triplebackticks": "```",
2626
"console": "<a class=\"gitbook-plugin-js-console\" aria-hidden=\"true\"></a>"
2727
},

0 commit comments

Comments
 (0)