diff --git a/.github/workflows/deploy-editor.yml b/.github/workflows/deploy-editor.yml index 4543f7234..58d21e7c2 100644 --- a/.github/workflows/deploy-editor.yml +++ b/.github/workflows/deploy-editor.yml @@ -25,6 +25,7 @@ jobs: git config --global user.name "action@github.com" git config --global user.email "GitHub Action" git remote set-url origin https://${ACCESS_TOKEN}@github.com/${REPO}.git + pnpm run predeploy pnpm run deploy env: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6eeec4974..b86881625 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - uses: pnpm/action-setup@v2 - - run: pnpm + - run: pnpm install - run: pnpm build - run: pnpm publish env: