Skip to content

Commit 51cefda

Browse files
authored
Merge pull request #497 from ForgeRock/update-npm-version
chore: update-npm-version-in-ci
2 parents f3131fc + a5012d5 commit 51cefda

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
with:
5353
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5454

55+
- run: npm install npm@latest -g
56+
- run: npm --version
57+
5558
- name: publish
5659
uses: changesets/action@v1
5760
id: changesets
@@ -65,6 +68,7 @@ jobs:
6568
env:
6669
HOME: ${{ github.workspace }}
6770
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
71+
NPM_TOKEN: ''
6872

6973
- name: Publish Release Steps
7074
if: steps.changesets.outputs.published == 'true'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "nx affected --target=build",
1717
"changeset": "changeset",
18-
"ci:release": "pnpm publish -r --no-git-checks && changeset tag",
18+
"ci:release": "pnpm nx run-many -t build --no-agents && pnpm publish -r --no-git-checks && changeset tag",
1919
"ci:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm nx format:write --uncommitted",
2020
"circular-dep-check": "madge --circular .",
2121
"clean": "shx rm -rf ./{coverage,dist,docs,node_modules,tmp}/ ./{packages,e2e}/*/{dist,node_modules}/ ./e2e/node_modules/ && git clean -fX -e \"!.env*,nx-cloud.env\" -e \"!**/GEMINI.md\"",

0 commit comments

Comments
 (0)