We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62cb38d + 143ecc3 commit 6e520d3Copy full SHA for 6e520d3
.github/workflows/publish.yml
@@ -12,6 +12,10 @@ jobs:
12
publish:
13
name: Publish Release
14
runs-on: ubuntu-latest
15
+ environment: publish
16
+ permissions:
17
+ id-token: write
18
+ contents: read
19
20
steps:
21
- name: Checkout repository
@@ -55,9 +59,6 @@ jobs:
55
59
run: |
56
60
echo "workspaces-update = false" >> .npmrc
57
61
echo "@bitgo:registry=https://registry.npmjs.org" >> .npmrc
58
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
- env:
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62
63
- name: Install Packages
64
run: npm ci --workspaces --include-workspace-root
@@ -72,4 +73,3 @@ jobs:
72
73
run: npx lerna publish --yes --no-verify-access
74
env:
75
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments