Skip to content

Commit

Permalink
chore: setup CI workflow
Browse files Browse the repository at this point in the history
Add a basic CI workflow to build and test code with Github Actions.
  • Loading branch information
lukePeavey authored Nov 16, 2020
1 parent e44b27a commit eeb758a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# @see https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: yarn install
- run: yarn run build
- run: yarn test
env:
CI: true

0 comments on commit eeb758a

Please sign in to comment.