This commit is contained in:
Sébastien Lorber 2026-06-10 13:07:51 +03:00 committed by GitHub
commit d59ff18fcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -416,6 +416,7 @@ steps:
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # Prevent cache poisoning issues
- run: npm ci
- run: npm publish
env:
@ -423,6 +424,7 @@ steps:
- uses: actions/setup-node@v6
with:
registry-url: 'https://npm.pkg.github.com'
package-manager-cache: false # Prevent cache poisoning issues
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -436,6 +438,7 @@ steps:
with:
node-version: '24.x'
registry-url: <registry url>
package-manager-cache: false # Prevent cache poisoning issues
- run: yarn install --frozen-lockfile
- run: yarn publish
env:
@ -443,6 +446,7 @@ steps:
- uses: actions/setup-node@v6
with:
registry-url: 'https://npm.pkg.github.com'
package-manager-cache: false # Prevent cache poisoning issues
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -519,6 +523,7 @@ You must also configure a **Trusted Publisher** in npm for your package/scope th
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # Prevent cache poisoning issues
- run: npm ci
- run: npm run build --if-present