Skip to content

Add reactivity with [email protected]

Add reactivity with [email protected] #68

Workflow file for this run

name: Github Pages
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 21
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: true
- name: Build with pnpm
run: |
pnpm run pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: dist
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
contents: read
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v2
id: deployment