fix: improve release process (#773)

Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#773
This commit is contained in:
sealday 2024-04-19 13:56:55 +08:00
parent 307ff38c8d
commit 9c310df255
2 changed files with 12 additions and 0 deletions

View File

@ -20,10 +20,21 @@ jobs:
uses: pnpm/action-setup@v3
with:
standalone: true
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: pnpm-store
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build:p
- name: show status
run: git status
- name: publish
run: pnpm publish -r --registry=https://npm.daoyoucloud.com --publish-branch ${{ gitea.ref }}
env:

1
.gitignore vendored
View File

@ -44,3 +44,4 @@ ncc-cache/
yarn--**
v8-compile-cache-**
.env.local.*
.pnpm-store