diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d4a0c055b..f52714f39 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,24 +24,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout/@v3 - - name: Setup Node 18 - uses: actions/setup-node@v3 + uses: actions/checkout/@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - name: Generate VC vocabularies run: | - npm install yml2vocab - npm update yml2vocab + npm install ./node_modules/.bin/yml2vocab -v vocab/credentials/v2/vocabulary.yml -t vocab/credentials/v2/template.html rm -rf node_modules - name: Setup Github Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: '.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/package.json b/package.json index 318f05957..9d101b274 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "assert": "^2.0.0", "fs": "^0.0.1-security", "mocha": "^10.4.0", - "yml2vocab": "^1.4.0" + "yml2vocab": "^1.4.9" }, "scripts": { "test-schema": "mocha 'schema/**/*.js'"