Skip to content

add pnpm i step

add pnpm i step #2

Workflow file for this run

name: Deploy to github pages
on:
push:
branches:
- 'master'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Prepare env
run: pnpm i
- name: Generate your content
run: npm run build
- name: Publish current build to GitHub Pages
uses: rayluo/[email protected]
with:
source-directory: ./dist/client
target-branch: gh-pages