From: Jérôme Benoit Date: Wed, 13 May 2026 23:04:13 +0000 (+0200) Subject: fix(ci): restore original order for GitHub-hosted runners, keep fix for self-hosted X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=826e4d300cf76a242b98b86281ad9c1b624d5da4;p=poolifier.git fix(ci): restore original order for GitHub-hosted runners, keep fix for self-hosted --- diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 02b8fff67..d1ef851d8 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -12,10 +12,10 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 - uses: pnpm/action-setup@v6 + - uses: actions/setup-node@v6 with: - cache: true + cache: 'pnpm' - run: pnpm install --ignore-scripts - run: pnpm build - run: pnpm format diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ff496b2c..18d9eb6b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,15 +29,14 @@ 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 }} - - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - cache: true + cache: 'pnpm' - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile diff --git a/.github/workflows/publish-documentation.yml b/.github/workflows/publish-documentation.yml index 2dc49da25..0b98e814a 100644 --- a/.github/workflows/publish-documentation.yml +++ b/.github/workflows/publish-documentation.yml @@ -17,15 +17,14 @@ 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 - - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - cache: true + cache: 'pnpm' - name: Generate documentation run: | diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 9e0a2b312..9f7014449 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -37,15 +37,14 @@ 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 - - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - cache: true + cache: 'pnpm' - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -95,15 +94,14 @@ 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 - - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - cache: true + cache: 'pnpm' - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -138,15 +136,14 @@ 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 - - - name: Setup pnpm - uses: pnpm/action-setup@v6 - with: - cache: true + cache: 'pnpm' - name: Generate documentation run: |