We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be99dfd commit 6df0c4aCopy full SHA for 6df0c4a
.github/workflows/release.yml
@@ -7,7 +7,7 @@ on:
7
- main
8
9
permissions:
10
- contents: write
+ contents: read
11
pull-requests: write
12
13
env:
@@ -36,7 +36,9 @@ jobs:
36
with:
37
cache: yarn
38
node-version: '20.x'
39
- registry-url: 'https://registry.npmjs.org'
+
40
+ - name: Setup npmrc
41
+ run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > .npmrc
42
43
- name: Install
44
if: ${{ steps.release.outputs.releases_created }}
@@ -50,5 +52,3 @@ jobs:
50
52
# need to publish all unpublished versions to NPM here
51
53
- run: yarn workspaces foreach npm publish --access=public
54
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
0 commit comments