Skip to content

Commit 26c2acc

Browse files
committed
Upgrade Spago and use spago.yaml instead of spago.dhall, extend CI
1 parent a1ffeb0 commit 26c2acc

91 files changed

Lines changed: 39534 additions & 5561 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
- name: Cache PureScript dependencies
1818
uses: actions/cache@v4
19-
# This cache uses the .dhall files to know when it should reinstall
19+
# This cache uses the .lock files to know when it should reinstall
2020
# and rebuild packages. It caches both the installed packages from
2121
# the `.spago` directory and compilation artifacts from the `output`
2222
# directory. When restored the compiler will rebuild any files that
2323
# have changed. If you do not want to cache compiled output, remove
2424
# the `output` path.
2525
with:
26-
key: k1-${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
26+
key: k1-${{ runner.os }}-spago-${{ hashFiles('**/*.lock') }}
2727
path: |
2828
.spago
2929
output
@@ -33,8 +33,36 @@ jobs:
3333
examples/1-simple/output
3434
examples/2-codegen/.spago
3535
examples/2-codegen/output
36+
examples/3-enums/.spago
37+
examples/3-enums/output
38+
examples/4-mutation/.spago
39+
examples/4-mutation/output
40+
examples/5-subscription/.spago
41+
examples/5-subscription/output
42+
examples/6-watch-query/.spago
43+
examples/6-watch-query/output
44+
examples/7-field-type-overrides/.spago
45+
examples/7-field-type-overrides/output
46+
examples/8-custom-gql-types/.spago
47+
examples/8-custom-gql-types/output
48+
examples/9-variables/.spago
49+
examples/9-variables/output
50+
examples/10-aliases/.spago
51+
examples/10-aliases/output
52+
examples/11-unions/.spago
53+
examples/11-unions/output
54+
examples/12-directives/.spago
55+
examples/12-directives/output
56+
examples/13-error-boundaries/.spago
57+
examples/13-error-boundaries/output
3658
3759
- run: spago build
3860
- run: npm i
3961
- run: npm run bundle
4062
- run: npm t
63+
64+
- name: Run Example Tests
65+
run: node run-example-tests.js
66+
67+
- name: Run Should Fail Tests
68+
run: node run-should-fail-tests.js

bower.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)