Bump the npm_and_yarn at /. security update group with 2 updates (#66) #39
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: | |
- main # 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: | |
token: ${{ secrets.NPM_TOKEN }} |