diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 39abc2882f6e58c..12f84d2dffb6521 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,11 @@ "name": "Renovate", "dockerFile": "Dockerfile", "features": { - "ghcr.io/devcontainers/features/common-utils:2": {} + "ghcr.io/devcontainers/features/common-utils:2": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.3.1": {}, + "ghcr.io/devcontainers-contrib/features/act:1.0.12": { + "version": "0.2.49" + } }, "capAdd": ["SYS_PTRACE"], "privileged": true, diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index ed2234d606b6d9d..770f8b983b3f706 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -1,5 +1,5 @@ # This is the composite action: -# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action +# https://docs.github.com/en/actionxs/creating-actions/creating-a-composite-action # # Composite actions have some limitations: # - many contexts are unavailable, e.g. `runner` @@ -47,9 +47,10 @@ runs: (steps.node-modules-restore.outputs.cache-hit == 'true') && 'true' || '' }}' >> "$GITHUB_ENV" - - name: Enable corepack - shell: bash - run: corepack enable + - name: Install pnpm + uses: pnpm/action-setup@v2.4.0 + with: + version: 8.6.12 - name: Setup Node uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 @@ -57,6 +58,10 @@ runs: node-version: ${{ inputs.node-version }} cache: ${{ env.CACHE_HIT != 'true' && 'pnpm' || '' }} + - name: Enable corepack + shell: bash + run: corepack enable + - name: Install dependencies uses: nick-fields/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd # v2.8.3 if: env.CACHE_HIT != 'true' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe0c12d0785eb1e..5e46f1fb52ebf9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -462,6 +462,8 @@ jobs: - name: Upload uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 + + if: ${{ !env.ACT }} with: name: renovate-package path: renovate-0.0.0-semantic-release.tgz