]> Piment Noir Git Repositories - poolifier.git/commitdiff
fix(ci): restore original order for GitHub-hosted runners, keep fix for self-hosted master
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 13 May 2026 23:04:13 +0000 (01:04 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 13 May 2026 23:04:13 +0000 (01:04 +0200)
.github/workflows/autofix.yml
.github/workflows/ci.yml
.github/workflows/publish-documentation.yml
.github/workflows/release-please.yml

index 02b8fff67d817ceca5fd60f1c2922d52411fe1f1..d1ef851d8db6edacd5224446aa4f601891bad09b 100644 (file)
@@ -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
index 0ff496b2c354ede27733d25a2af7fe4d3a7adcd6..18d9eb6b90cd5a6c7641c90395536ddc32c59626 100644 (file)
@@ -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
index 2dc49da25ff54249edd4586c7627564fc27210e4..0b98e814ab8a1da84a4f3e13542857095e5212a5 100644 (file)
@@ -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: |
index 9e0a2b312f811a29f4ec81bc1397a8ed714215eb..9f7014449d40286c4a0a8cc4442e15fb6ab70ce5 100644 (file)
@@ -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: |