Skip to content

Commit

Permalink
set workflows to use node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
mahula committed Oct 29, 2023
1 parent 717b873 commit 3d4e763
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node 19
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: '19'
node-version: '20'

- name: npm-install
run: npm install

- name: npm-build
run: npm run build
run: npm run build
6 changes: 3 additions & 3 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node 19
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: '19'
node-version: '20'

- name: npm-install
run: npm install

- name: npm-test
run: npm test
run: npm test
6 changes: 3 additions & 3 deletions .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Setup Node 19
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: '19'
node-version: '20'

- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
Expand All @@ -25,4 +25,4 @@ jobs:
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run build-node16
BUILD_DIR: docs/.vuepress/dist
# CNAME: https://www.it4c.dev
# CNAME: https://www.it4c.dev

0 comments on commit 3d4e763

Please sign in to comment.