Adds tests to the pipeline

This commit is contained in:
Mike Solomon 2023-06-19 14:58:51 +03:00
parent de088099ad
commit ac5c08fc48

19
.github/workflows/unit-tests.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Unit tests
on: push
jobs:
container-job:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Spago install
run: npx spago -x test.dhall install
- name: Spago build
run: npx spago -x test.dhall build
- name: Spago test
run: npm t