Skip to content

Commit 96c7d4a

Browse files
authored
Merge pull request #421 from ForgeRock/use-trusted-publishers
ci: update-npm-cli
2 parents b34a61a + d4d62eb commit 96c7d4a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
cache: 'pnpm'
5858
registry-url: 'https://registry.npmjs.org'
5959

60+
- name: Update npm
61+
run: npm install -g npm@latest
62+
6063
- run: pnpm install --frozen-lockfile
6164

6265
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yml" --stop-agents-after="e2e-ci" --with-env-vars="CODECOV_TOKEN"
@@ -179,6 +182,9 @@ jobs:
179182
node-version-file: '.node-version'
180183
cache: 'pnpm'
181184

185+
- name: Update npm
186+
run: npm install -g npm@latest
187+
182188
- run: pnpm install --frozen-lockfile
183189

184190
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yml" --stop-agents-after="e2e-ci" --with-env-vars="CODECOV_TOKEN"

0 commit comments

Comments
 (0)