Skip to content

add pnpm action

add pnpm action #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: install
run: pnpm i
- name: build
run: pnpm build
env:
BASE_PATH: /grid/
- name: create .nojekyll
run: touch .output/public/.nojekyll
- name: deploy pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist