chore(deps): bump koa and @types/koa #917
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: Node CI | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
env: | |
BAIDU_APPID: ${{ secrets.BAIDU_APPID }} | |
BAIDU_APP_KEY: ${{ secrets.BAIDU_APP_KEY }} | |
strategy: | |
matrix: | |
node-version: [12.x] | |
os: [macos-10.15, ubuntu-latest] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create env file | |
run: | | |
touch .env | |
echo BAIDU_APPID=${{ secrets.BAIDU_APPID }} >> .env | |
echo BAIDU_APP_KEY=${{ secrets.BAIDU_APP_KEY }} >> .env | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
run: yarn install | |
- name: Test | |
run: yarn run test |