Skip to content

Merge pull request #28 from Justineo/patch-1 #79

Merge pull request #28 from Justineo/patch-1

Merge pull request #28 from Justineo/patch-1 #79

Workflow file for this run

name: Pages
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm format:check
- run: pnpm build
- run: pnpm build:demo
- name: Release pages
if: github.ref == 'refs/heads/main'
uses: crazy-max/ghaction-github-pages@v3.0.0
with:
build_dir: ./out
commit_message: Update pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}