1
0
mirror of https://github.com/Unleash/unleash.git synced 2026-01-05 20:06:22 +01:00

chore(ci): add step for installing npm@latest before publishing (#11137)

We need npm > 11.8 for trusted publishing.
This commit is contained in:
Christopher Kolstad 2025-12-12 12:46:25 +01:00 committed by GitHub
parent 3c82c1b79b
commit dfe214f53d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: v${{ inputs.version }} # tag that should be created by the caller workflow
- name: Setup to npm
@ -32,6 +32,8 @@ jobs:
cache: 'yarn'
- name: Enable corepack
run: corepack enable
- name: Make sure we have newest version of npm
run: npm install -g npm@latest
- name: Build
run: |
yarn install --immutable

View File

@ -2,7 +2,7 @@
"name": "unleash-server",
"type": "module",
"description": "Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.",
"version": "7.4.0",
"version": "7.3.0",
"keywords": [
"unleash",
"feature flag",