chore(deps): bump follow-redirects in /examples/koa (#568) #177
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 to npm | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
publish-to-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull code | |
uses: actions/checkout@v1 | |
- name: Set up node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: yarn | |
- name: build | |
run: yarn build | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx 'semantic-release@^18.0.1' | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull code | |
uses: actions/checkout@v1 | |
- name: Install Dependencies | |
run: yarn | |
- name: Run Tests | |
run: yarn test | |
- name: codecov | |
uses: codecov/codecov-action@v1 |