Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

fix: node 22 and artifact path #5

fix: node 22 and artifact path

fix: node 22 and artifact path #5

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Build with domstack
run: npm run build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: public
path: public/
deploy:
needs: build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: public
path: public
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public