1.5.2 #14
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 on NPM | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install project dependencies | |
run: npm i | |
- name: Build atft library | |
run: npx ng build atft | |
- run: npm publish --access public | |
working-directory: ./dist/atft | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |