Upgrade to Node 20 and NPM 10 #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Github workflow to deploy the documentation to Github Pages | |
name: Deploy docs | |
on: | |
push: | |
branches: | |
- source | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build docs bundle | |
run: npm run build | |
- name: Deploy the documentation | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
branch: main | |
folder: docs/.vuepress/dist |