Skip to content

chore(deps): bump follow-redirects in /examples/koa (#568) #177

chore(deps): bump follow-redirects in /examples/koa (#568)

chore(deps): bump follow-redirects in /examples/koa (#568) #177

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