Skip to content

Commit

Permalink
feat: add test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Jan 5, 2020
1 parent 9490507 commit ba4c4d2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
name: CI - node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v1
- name: set node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install
- name: npm run test
run: npm run test

0 comments on commit ba4c4d2

Please sign in to comment.