Skip to content

Commit

Permalink
Add GitHub Action (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinshoemaker authored Jan 22, 2021
1 parent 217612f commit 21d78f6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
ci:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: bahmutov/npm-install@v1
- run: yarn format:check
- run: yarn lint
- run: yarn build

0 comments on commit 21d78f6

Please sign in to comment.