fix: pin eslint-plugin-n to ^15.7 to support node 14 (#140) #53
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: on-push-publish-to-npm | |
on: | |
push: | |
branches: | |
- master # Change this if not your default branch | |
paths: | |
- 'package.json' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: npm install | |
- run: npm test | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} |