Chore(deps): bump ip from 1.1.8 to 1.1.9 (#16) #22
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: Release and publish to NPM on pushes to main | |
on: | |
## Allow triggering this workflow manually via GitHub CLI/web | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- 'src/**/*' | |
- '**.ts' | |
- 'package.json' | |
- 'yarn.lock' | |
jobs: | |
test_and_release: | |
name: Build & test & release | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: lts/* | |
cache: yarn | |
- name: Install all dependencies | |
run: yarn install --frozen-lockfile | |
env: | |
NODE_ENV: development | |
- name: Run automated tests | |
run: npm t | |
- name: Release it (if needed) | |
run: npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |