diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 1e1b7bb..f7bc93d 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -2,7 +2,7 @@ on: push jobs: build_and_deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: # GIT Checkout - uses: actions/checkout@v2 @@ -15,9 +15,9 @@ jobs: restore-keys: ${{ runner.os }}-node- # Setup Node.JS - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '21' # Build - run: npm ci diff --git a/package.json b/package.json index 46c1950..13bd5e5 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "scripts": { "dev": "vuepress dev", - "build": "vuepress build", + "build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build", "check": "blcl -r .vuepress/dist", "postinstall": "echo \\$contentClass = \\'.content__default\\' > node_modules/@vuepress/theme-default/styles/config.styl" },