Merge pull request #50 from ParadeTo/feature/github-actions
Create test.yml
This commit is contained in:
15
.github/workflows/test.yml
vendored
Normal file
15
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Test
|
||||
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: npm install, lint and test
|
||||
run: |
|
||||
npm install
|
||||
npm run lint
|
||||
npm run test:unit
|
Reference in New Issue
Block a user