-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 948 Bytes
/
purescript.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: purescript-contrib/setup-purescript@main
with:
spago: unstable
purescript: "0.15.13"
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies and build
run: |
npm install
npm install -g spago@next
spago build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: purescript-contrib/setup-purescript@main
with:
spago: unstable
purescript: "0.15.13"
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies and test
run: |
docker --version
docker compose version
npm install
npm install -g spago@next
spago test