ci: update workflows config.

This commit is contained in:
小弟调调
2026-03-14 23:11:34 +08:00
parent 6af39111be
commit 668b9fe6da
2 changed files with 8 additions and 6 deletions

View File

@@ -9,10 +9,11 @@ jobs:
if: github.repository == 'jaywcjlove/reference'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build

View File

@@ -9,10 +9,11 @@ jobs:
if: github.repository == 'jaywcjlove/reference'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build