Skip to content

Commit

Permalink
Add Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
rickmak committed May 5, 2020
1 parent 79ed989 commit d8e0f8c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [10.x, 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: npm ci
- run: npm run typecheck
- run: npm run format

0 comments on commit d8e0f8c

Please sign in to comment.