From 0497e2f97cbe987d7e8cf644c58ef2a1eef239ab Mon Sep 17 00:00:00 2001 From: sealday Date: Fri, 19 Jul 2024 10:29:20 +0800 Subject: [PATCH] ci: fix release (#1352) Co-authored-by: sealday Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1352 --- .gitea/workflows/release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e485358c7..aedfce677 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -7,16 +7,22 @@ on: permissions: contents: write +env: + npm_config_registry: ${{ vars.REGISTRY_URL }} + jobs: CI: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 + - uses: pnpm/action-setup@v4 + with: + version: 8.15.5 - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.12.0 registry-url: ${{ vars.REGISTRY_URL }} cache: 'pnpm' - name: Install deps