From: Jérôme Benoit Date: Wed, 13 May 2026 22:49:17 +0000 (+0200) Subject: fix(ci): swap setup-node before pnpm/action-setup and remove cache X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=388af1eed17158345e5b897a0a87f30d152d6aab;p=poolifier.git fix(ci): swap setup-node before pnpm/action-setup and remove cache --- diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index d1ef851d8..dcb79a62c 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -12,10 +12,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v6 - uses: actions/setup-node@v6 - with: - cache: 'pnpm' + - uses: pnpm/action-setup@v6 - run: pnpm install --ignore-scripts - run: pnpm build - run: pnpm format diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18d9eb6b9..f3daeb445 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,14 +29,13 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis. This is needed for better sonar - - name: Setup pnpm - uses: pnpm/action-setup@v6 - - name: Setup Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile diff --git a/.github/workflows/internal-benchmark.yml b/.github/workflows/internal-benchmark.yml index f563d0f57..968579beb 100644 --- a/.github/workflows/internal-benchmark.yml +++ b/.github/workflows/internal-benchmark.yml @@ -20,14 +20,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup pnpm - uses: pnpm/action-setup@v6 - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24.x check-latest: true - cache: 'pnpm' + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Install dependencies run: pnpm install --ignore-scripts --frozen-lockfile - uses: bencherdev/bencher@main diff --git a/.github/workflows/publish-documentation.yml b/.github/workflows/publish-documentation.yml index 0b98e814a..6a0ca1dda 100644 --- a/.github/workflows/publish-documentation.yml +++ b/.github/workflows/publish-documentation.yml @@ -17,14 +17,13 @@ jobs: with: token: ${{ secrets.GH_TOKEN_PROTECTED }} - - name: Setup pnpm - uses: pnpm/action-setup@v6 - - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24.x - cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Generate documentation run: | diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 9f7014449..c343b0e01 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -37,14 +37,13 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Setup pnpm - uses: pnpm/action-setup@v6 - - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24.x - cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -94,14 +93,13 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Setup pnpm - uses: pnpm/action-setup@v6 - - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24.x - cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -136,14 +134,13 @@ jobs: with: token: ${{ secrets.GH_TOKEN_PROTECTED }} - - name: Setup pnpm - uses: pnpm/action-setup@v6 - - name: Setup Node.js uses: actions/setup-node@v6 with: node-version: 24.x - cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v6 - name: Generate documentation run: |