fix: improve release process (#773)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#773
This commit is contained in:
parent
307ff38c8d
commit
9c310df255
@ -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
1
.gitignore
vendored
@ -44,3 +44,4 @@ ncc-cache/
|
||||
yarn--**
|
||||
v8-compile-cache-**
|
||||
.env.local.*
|
||||
.pnpm-store
|
||||
|
Loading…
Reference in New Issue
Block a user