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:
parent
3c82c1b79b
commit
dfe214f53d
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user