Skip to content

Release

Release #50

Workflow file for this run

name: Release
on:
workflow_dispatch:
workflow_run:
workflows: ['Publish to NPM']
types: [completed]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Build
run: |
pnpm i --frozen-lockfile --registry=https://registry.npmmirror.com
pnpm docs:build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: docs
folder: packages/.vitepress/dist
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}