Skip to content

fix: 🐛 修复API构建dts错误导致action失败异常 #2

fix: 🐛 修复API构建dts错误导致action失败异常

fix: 🐛 修复API构建dts错误导致action失败异常 #2

Workflow file for this run

name: Publish GitHub Pages
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Set node version to 20
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install
run: pnpm i
- name: Build
run: pnpm build
- name: Publish GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/web/dist