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 f3cc127 commit 8ec0f54Copy full SHA for 8ec0f54
.github/workflows/release.yml
@@ -27,6 +27,17 @@ jobs:
27
- name: Install deps
28
run: pnpm i
29
30
+ - name: Create .npmrc for GitHub Packages
31
+ run: |
32
+ cat <<EOF > ~/.npmrc
33
+ @nhsdigital:registry=https://npm.pkg.github.com
34
+ //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
35
+ always-auth=true
36
+ registry=https://registry.npmjs.org/
37
+ EOF
38
+ env:
39
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
+
41
- name: Create Release Pull Request or Publish to npm
42
uses: changesets/action@master
43
with:
.npmrc
@@ -1,7 +1 @@
1
strict-peer-dependencies=false
2
-
3
-@nhsdigital:registry=https://npm.pkg.github.com
4
-//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
5
-always-auth=true
6
7
-registry=https://registry.npmjs.org/
0 commit comments