Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['20', '22']
node: ['22', '24', '26']
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
name: conventional commit lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '22'
node-version: '24'

- name: Install commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
name: test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '22'
node-version: '24'
cache: npm

- run: npm ci --no-audit --no-fund
Expand All @@ -49,7 +49,7 @@ jobs:
npm pack --pack-destination out
ls -la out

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: package
path: |
Expand All @@ -67,14 +67,14 @@ jobs:
contents: read
id-token: write # npm provenance / trusted publishing (OIDC)
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '22'
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: package
path: artifact
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
permissions:
contents: write # create the GitHub release
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -123,7 +123,7 @@ jobs:
env:
OUTPUT: RELEASE_NOTES.md

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: package
path: artifact
Expand All @@ -139,7 +139,7 @@ jobs:
cat RELEASE_NOTES.md

- name: Create GitHub release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data is outside this repository.

## Development

Node.js 20 or later. There are no runtime dependencies; the development dependencies are esbuild and TypeScript.
Node.js 22 or later. There are no runtime dependencies; the development dependencies are esbuild and TypeScript.

```sh
npm ci
Expand Down
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Chromium-based browsers.

## Development

Node.js 20 or later.
Node.js 22 or later.

```sh
npm ci
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ nnnotes web out/site --all --all-live2d --all-stories --player <ournotes-player

## 开发

需要 Node.js 20 或更高版本。
需要 Node.js 22 或更高版本。

```sh
npm ci
Expand Down
2 changes: 1 addition & 1 deletion docs/data-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,5 +652,5 @@ references, one Lit material and a texture descriptor per drawable), the drawabl
`_ADDITIONAL_LIGHTS_VERTEX` required from `model.json` format 2), and that the manifest lists exactly the files the
viewer and the story player read.

It needs Node.js 20 or later and no dependencies. The opt-in data tests (`OURNOTES_DATA=<site dir> npm run test:data`)
It needs Node.js 22 or later and no dependencies. The opt-in data tests (`OURNOTES_DATA=<site dir> npm run test:data`)
go further and run charts through the player in Node (see [CONTRIBUTING.md](../CONTRIBUTING.md)).
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"LICENSE-EXCEPTION"
],
"engines": {
"node": ">=20"
"node": ">=22"
},
"scripts": {
"build": "node scripts/build.mjs",
Expand Down
Loading