We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ecb2d5 commit 26facb4Copy full SHA for 26facb4
.github/workflows/build.yml
@@ -27,11 +27,8 @@ jobs:
27
- name: Build Angular project
28
run: npm run build
29
30
- - name: Authenticate to GitHub Packages registry
31
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
32
-
33
- name: Publish to GitHub Packages
34
- env:
35
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36
- run: npm publish
37
- working-directory: ./dist/angular-serial
+ uses: JS-DevTools/npm-publish@v3
+ with:
+ token: ${{ secrets.NPM_TOKEN }}
+ registry: 'https://npm.pkg.github.com'
0 commit comments