Skip to content

feat: upgrade to node 22 #5

feat: upgrade to node 22

feat: upgrade to node 22 #5

Workflow file for this run

name: Site Build
on: [push]
permissions:
contents: write
jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup node
uses: actions/setup-node@v4.0.3
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build site
run: node --run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: _site
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}