Skip to content

fix(context): req记录context,防止close和finish事件清理后无法上报 #294

fix(context): req记录context,防止close和finish事件清理后无法上报

fix(context): req记录context,防止close和finish事件清理后无法上报 #294

name: build
on:
pull_request:
branches:
- master
- release
- 2.0
jobs:
lint-code:
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: '12.x'
- name: Install Dependencies
run: yarn
- name: Commit Linter
uses: wagoid/[email protected]
with:
configFile: '.commitlintrc.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run ESLinter
run: yarn lint
- name: Run Tests
run: yarn test
- name: codecov
uses: codecov/codecov-action@v1