Skip to content

Commit

Permalink
chore: add github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Mar 8, 2020
1 parent cb78a89 commit f20aa72
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/github-ci.yaml
@@ -0,0 +1,26 @@
name: Github CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: git fetch --unshallow || true
- run: yarn install --frozen-lockfile
- run: npm run build
- run: npm run lint
- run: npm run test
env:
CI: true

0 comments on commit f20aa72

Please sign in to comment.