mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
set workflows to use node v20
This commit is contained in:
parent
717b873b36
commit
3d4e763f0c
6
.github/workflows/test-build.yml
vendored
6
.github/workflows/test-build.yml
vendored
@ -10,13 +10,13 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node 19
|
- name: Setup Node 20
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '19'
|
node-version: '20'
|
||||||
|
|
||||||
- name: npm-install
|
- name: npm-install
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: npm-build
|
- name: npm-build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
6
.github/workflows/test-lint.yml
vendored
6
.github/workflows/test-lint.yml
vendored
@ -10,13 +10,13 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node 19
|
- name: Setup Node 20
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '19'
|
node-version: '20'
|
||||||
|
|
||||||
- name: npm-install
|
- name: npm-install
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: npm-test
|
- name: npm-test
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|||||||
6
.github/workflows/vuepress-deploy.yml
vendored
6
.github/workflows/vuepress-deploy.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Setup Node 19
|
- name: Setup Node 20
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '19'
|
node-version: '20'
|
||||||
|
|
||||||
- name: vuepress-deploy
|
- name: vuepress-deploy
|
||||||
uses: jenkey2011/vuepress-deploy@master
|
uses: jenkey2011/vuepress-deploy@master
|
||||||
@ -25,4 +25,4 @@ jobs:
|
|||||||
TARGET_BRANCH: gh-pages
|
TARGET_BRANCH: gh-pages
|
||||||
BUILD_SCRIPT: npm install && npm run build-node16
|
BUILD_SCRIPT: npm install && npm run build-node16
|
||||||
BUILD_DIR: docs/.vuepress/dist
|
BUILD_DIR: docs/.vuepress/dist
|
||||||
# CNAME: https://www.it4c.dev
|
# CNAME: https://www.it4c.dev
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user