hhfrancois run build on hhnest/granted #1
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 hhnest/granted to NPM | |
run-name: ${{ github.actor }} run build on ${{ github.repository }} | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish-nestjs-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/ | |