Feature - ignore name metadata #4
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 library to NPM | |
on: | |
release: | |
types: [created] | |
jobs: | |
ci_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 15.x | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies | |
run: npm clean-install | |
- name: Prepare distrubution | |
run: npm run dist | |
- name: Publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npm publish --access public |