mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
Merge pull request #64 from IT4Change/node16-compatibility
fix(workflow): implement node 16 compatible mode for building
This commit is contained in:
commit
dac0c073e1
2
.github/workflows/vuepress-deploy.yml
vendored
2
.github/workflows/vuepress-deploy.yml
vendored
@ -23,6 +23,6 @@ jobs:
|
|||||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
TARGET_REPO: IT4Change/IT4C.dev
|
TARGET_REPO: IT4Change/IT4C.dev
|
||||||
TARGET_BRANCH: gh-pages
|
TARGET_BRANCH: gh-pages
|
||||||
BUILD_SCRIPT: npm install && npm run build
|
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
|
||||||
@ -5,6 +5,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
||||||
|
"build-node16": "vuepress build docs",
|
||||||
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
||||||
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user