diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2debe967..93f72651 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,18 +13,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Setup pnpm uses: pnpm/action-setup@v3 with: version: 10 run_install: false - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - name: 🔐 Configure Private Registry run: | REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e6f3c237..664f246f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -161,18 +161,17 @@ jobs: with: fetch-depth: 1 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Setup pnpm uses: pnpm/action-setup@v3 with: version: 10 run_install: false - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - name: 🔐 Configure Private Registry run: | REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" @@ -421,18 +420,17 @@ jobs: with: fetch-depth: 1 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Setup pnpm uses: pnpm/action-setup@v3 with: version: 10 run_install: false - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - name: 🔐 Configure Private Registry run: | REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"