ci: update workflows config.
This commit is contained in:
parent
317f2db41f
commit
6b29e84fda
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -9,10 +9,10 @@ jobs:
|
||||
if: github.repository == 'jaywcjlove/reference'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
6
.github/workflows/win.yml
vendored
6
.github/workflows/win.yml
vendored
@ -9,10 +9,10 @@ jobs:
|
||||
if: github.repository == 'jaywcjlove/reference'
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
Loading…
x
Reference in New Issue
Block a user