Skip to content

Commit

Permalink
feat!: ES2024に対応 (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
azu authored Aug 25, 2024
1 parent d94d606 commit e950330
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- run: npm install
- run: npm run build
- name: Deploy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
name: Link Check
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
- run: npm ci
- run: npm run textlint-sarif
- name: Upload SARIF file
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20]
node-version: [22]
os: [macOS-latest, windows-latest, ubuntu-latest]
name: "Build on Node.js: ${{ matrix.node-version }} OS: ${{ matrix.os }}"
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22.5.1]
node-version: [20, 22]
name: "Test on Node.js ${{ matrix.node-version }}"
steps:
- uses: actions/checkout@v4
Expand All @@ -47,6 +47,6 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- run: npm ci
- run: npm run e2e
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22.4.1
v22.7.0
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ IssueやPull Requestについては、次のページを参照してください

## Installation

npm install
# corepackを有効化
corepack enable
# インストール
npm ci

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

```
$ node -v
v22.4.1
v22.7.0
$ npm -v
10.8.2
```
Expand Down
6 changes: 3 additions & 3 deletions book.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"sandpack"
],
"variables": {
"esversion": "2023",
"nodeversion": "20.11.1",
"npmversion": "10.2.4",
"esversion": "2024",
"nodeversion": "22.7.0",
"npmversion": "10.8.2",
"triplebackticks": "```",
"console": "<a class=\"gitbook-plugin-js-console\" aria-hidden=\"true\"></a>"
},
Expand Down

0 comments on commit e950330

Please sign in to comment.