Skip to content

Commit 9bacb34

Browse files
committed
init github workflow publish
1 parent 4f75220 commit 9bacb34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Build Angular project
2828
run: npm run build
2929

30+
- name: Authenticate to GitHub Packages registry
31+
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
32+
3033
- name: Publish to GitHub Packages
3134
env:
3235
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)