Skip to content

chore(release): v3.1.2 #69

chore(release): v3.1.2

chore(release): v3.1.2 #69

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- release/*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Set a Node.js version
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
# pull code
- name: Checkout code
uses: actions/checkout@v3
# using pnpm to install deps
- run: npm i -g pnpm
# build to static
- name: Build Example
run: pnpm install && pnpm build-only
working-directory: example
# deploy to `docs` branch
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
folder: example/dist
silent: true
clean: true
branch: gh-pages
single-commit: true