Skip to content

Commit

Permalink
Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma-andex committed Jun 3, 2022
1 parent ec97524 commit 50ffacd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main

- uses: actions/setup-node@v2
with:
node-version: "14"

- name: Install dependencies
run: |
npm install
spago install
- name: Build source
run: |
spago build
12 changes: 12 additions & 0 deletions test.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
let conf = ./spago.dhall

in conf
// { sources = conf.sources # [ "test/**/*.purs" ]
, dependencies =
conf.dependencies
# [ "aff"
, "effect"
, "spec"
, "spec-discovery"
]
}

0 comments on commit 50ffacd

Please sign in to comment.