feat: 优化 订阅、Hook、分类等的选择逻辑;修复 CrudFrom 绑定值为 null 的问题 #30
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 |