Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsongc committed Jan 29, 2021
1 parent 3303f1e commit 6a130e1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on:
push:
branches: [ test-framework ]
pull_request:
branches: [ test-framework ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependence
run: |
npm i
- name: run eslint
run: |
npm run lint
- name: run test
run: |
npm run test

0 comments on commit 6a130e1

Please sign in to comment.