v0.0.3 - Updated yarn.lock #8
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 package to NPM | |
on: | |
push: | |
branches: | |
- 'master' # Push events on main branch | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install node v16.13.1 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.13.1 | |
- name: yarn install | |
run: yarn install | |
- name: build | |
run: npm run build | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
access: public | |
token: ${{ secrets.NPM_TOKEN }} |