Skip to content

Update action and node versions #23

Update action and node versions

Update action and node versions #23

Workflow file for this run

name: Deploy spec
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm install
- run: npm run build
- name: Publish HTML to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
github_token: ${{ secrets.GITHUB_TOKEN }}