chore: update release ci

This commit is contained in:
chenos 2024-05-09 21:35:58 +08:00
parent 90ababe2c9
commit 58c3c0fc6a

View File

@ -49,17 +49,17 @@ jobs:
run: | run: |
yarn config set registry https://registry.npmjs.org/ yarn config set registry https://registry.npmjs.org/
yarn install yarn install
yarn build yarn build packages/pro-plugins
- name: publish pkg.nocobase.com - name: publish pkg.nocobase.com
run: | run: |
git reset --hard git reset --hard
yarn config set //pkg.nocobase.com/:_authToken=${{ secrets.PKG_NOCOBASE_TOKEN }} npm config set //pkg.nocobase.com/:_authToken=${{ secrets.PKG_NOCOBASE_TOKEN }}
yarn release:force --no-verify-access --no-git-reset --registry https://pkg.nocobase.com yarn release:force --no-verify-access --no-git-reset --registry https://pkg.nocobase.com
- name: publish pkg-src.nocobase.com - name: publish pkg-src.nocobase.com
run: | run: |
git reset --hard git reset --hard
bash generate-npmignore.sh ignore-src bash generate-npmignore.sh ignore-src
yarn config set //pkg-src.nocobase.com/:_authToken=${{ secrets.PKG_SRC_NOCOBASE_TOKEN }} npm config set //pkg-src.nocobase.com/:_authToken=${{ secrets.PKG_SRC_NOCOBASE_TOKEN }}
yarn release:force --no-verify-access --no-git-reset --registry https://pkg-src.nocobase.com yarn release:force --no-verify-access --no-git-reset --registry https://pkg-src.nocobase.com
push-docker: push-docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest