ci: update workflows config.

This commit is contained in:
jaywcjlove 2024-02-26 14:05:13 +08:00
parent 317f2db41f
commit 6b29e84fda
2 changed files with 6 additions and 6 deletions

View File

@ -9,10 +9,10 @@ jobs:
if: github.repository == 'jaywcjlove/reference' if: github.repository == 'jaywcjlove/reference'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
- run: npm install - run: npm install
- run: npm run build - run: npm run build

View File

@ -9,10 +9,10 @@ jobs:
if: github.repository == 'jaywcjlove/reference' if: github.repository == 'jaywcjlove/reference'
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
- run: npm install - run: npm install
- run: npm run build - run: npm run build