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.
1 parent 0a27992 commit 28afc0eCopy full SHA for 28afc0e
.github/workflows/release.yml
@@ -68,6 +68,9 @@ jobs:
68
runs-on: ubuntu-latest
69
continue-on-error: false
70
if: needs.release.outputs.releaseReady == 'true'
71
+ permissions:
72
+ contents: read
73
+ packages: write
74
steps:
75
- name: Cancel previous jobs
76
uses: styfle/[email protected]
@@ -90,6 +93,11 @@ jobs:
90
93
package-manager: "pnpm"
91
94
scope: "@macpaw"
92
95
96
+ - name: Authenticate with GitHub Packages
97
+ run: |
98
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
99
+ echo "@macpaw:registry=https://npm.pkg.github.com/" >> ~/.npmrc
100
+
101
- name: Publish to Github Registry
102
id: changesets
103
uses: changesets/action@v1
0 commit comments