feat: 初步解决子表单问题;修复 更新路由错误 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: "latest" | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
cache: "pnpm" | |
- name: Cache Dependency | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.npm | |
~/.yarn | |
~/.cache/pnpm | |
~/cache | |
!~/cache/exclude | |
**/node_modules | |
key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }} | |
restore-keys: pnpm-${{ runner.os }} | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm run lint | |
- run: pnpm run build | |
# - env: | |
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
# run: pnpm run release |