bumping version to 1.7.0 #55
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: CI | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
- run: npm install | |
- run: npm run lint | |
- run: npm test | |
- run: npm pack --dry-run | |
- run: npm publish | |
if: startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request' | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |