hhfrancois run build on hhangular/store #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish hhangular/store to NPM | |
run-name: ${{ github.actor }} run build on ${{ github.repository }} | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish-angular-lib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | |
- run: npm install | |
- run: npm run build | |
- run: npm publish dist/ | |