Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlesage committed Jul 4, 2020
1 parent 3e57493 commit b26b64f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
# Always fetch the branch that triggered the event (develop or master)
ref: ${{ github.ref }}
- name: Setup NodeJS 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
# Simply use one single command for all that stuff and chain using &&
run: yarn install --frozen-lockfile
- name: Build package
run: yarn build
- name: Run unit tests
run: yarn test

0 comments on commit b26b64f

Please sign in to comment.