Merge pull request #64 from IT4Change/node16-compatibility

fix(workflow): implement node 16 compatible mode for building
This commit is contained in:
Ulf Gebhardt 2023-09-12 22:27:43 +02:00 committed by GitHub
commit dac0c073e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,6 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: IT4Change/IT4C.dev
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run build
BUILD_SCRIPT: npm install && npm run build-node16
BUILD_DIR: docs/.vuepress/dist
CNAME: https://www.it4c.dev

View File

@ -5,6 +5,7 @@
"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\""
},