Skip to content

Commit

Permalink
chore: create unit test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKruckenberg authored Apr 25, 2021
1 parent e62b1bb commit c264920
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Unit tests
on: pull_request

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
lfs: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install deps
run: yarn
- name: Run unit tests
run: yarn test

0 comments on commit c264920

Please sign in to comment.