Skip to content

chore(deps): update pnpm/action-setup action to v4 (#195) #415

chore(deps): update pnpm/action-setup action to v4 (#195)

chore(deps): update pnpm/action-setup action to v4 (#195) #415

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Setup timezone
uses: zcong1993/[email protected]
with:
timezone: Asia/Shanghai
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- uses: pnpm/[email protected]
with:
version: latest
- run: pnpm i --frozen-lockfile
- name: Build
run: pnpm run build
- name: GitHub Pages
uses: crazy-max/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
target_branch: gh-pages
build_dir: public
jekyll: false