From 0b0c938436792a3b5d01a0460dd5b16c1d0acde1 Mon Sep 17 00:00:00 2001 From: ChengLei Shao Date: Thu, 9 May 2024 17:27:11 +0800 Subject: [PATCH] chore: release ci (#4302) --- .github/workflows/release.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab5161f5a9..5b015fbdf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Checkout pro-plugins - uses: actions/checkout@v3 - with: - repository: nocobase/pro-plugins - path: packages/pro-plugins - ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }} - name: yarn install and build run: | yarn config set registry https://registry.npmjs.org/ @@ -43,6 +37,17 @@ jobs: yarn config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} npm whoami yarn release:force --no-verify-access --no-git-reset --registry https://registry.npmjs.org/ + - name: Checkout pro-plugins + uses: actions/checkout@v3 + with: + repository: nocobase/pro-plugins + path: packages/pro-plugins + ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }} + - name: Build Pro plugins + run: | + yarn config set registry https://registry.npmjs.org/ + yarn install + yarn build - name: publish pkg.nocobase.com run: | yarn config set //pkg.nocobase.com/:_authToken=${{ secrets.PKG_NOCOBASE_TOKEN }}