Skip to content

Commit

Permalink
Merge pull request #209 from IT4Change/use-current-nodejs-lts-version
Browse files Browse the repository at this point in the history
refactor(other): use current nodejs lts version
  • Loading branch information
mahula authored Feb 1, 2025
2 parents 542db85 + 61fa5a3 commit cf1ce6b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2

- name: Setup Node 20
- name: Setup Node 22.13.1
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.0.3
with:
node-version: '20'
node-version: '22.13.1'

- name: npm-install
run: npm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2

- name: Setup Node 20
- name: Setup Node 22.13.1
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.0.3
with:
node-version: '20'
node-version: '22.13.1'

- name: npm-install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: IT4Change/IT4C.dev
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run build-node16 -- --config docs/.vuepress/config github.js
BUILD_SCRIPT: npm install && npm run build -- --config docs/.vuepress/config github.js
BUILD_DIR: docs/.vuepress/dist
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.2.0
v22.13.1
41 changes: 24 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "index.js",
"scripts": {
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
"build-node16": "vuepress build docs",
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
"test": "textlint \"*.md\" \"docs/**/*.md\""
},
Expand Down

0 comments on commit cf1ce6b

Please sign in to comment.