Skip to content

Commit 9392dcb

Browse files
committed
Publish to GitHub packages as well
1 parent bf64f33 commit 9392dcb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci-release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ jobs:
5151
run: |
5252
echo "Publishing to npmjs.org using dist-tag: $DIST_TAG"
5353
npm publish --access=public --tag "$DIST_TAG"
54+
55+
- name: Publish to pkg.github.com
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
run: |
59+
npm config set "@fastly:registry" "https://npm.pkg.github.com/"
60+
echo "Publishing to pkg.github.com using dist-tag: $DIST_TAG"
61+
npm publish --access=public --tag "$DIST_TAG"

0 commit comments

Comments
 (0)