Skip to content

Commit d2f30fe

Browse files
Migrate legacy configuration to registry-backed Spago 1
1 parent a2c6109 commit d2f30fe

9 files changed

Lines changed: 3906 additions & 3081 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,24 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515

16-
- name: Set up a PureScript toolchain
17-
uses: purescript-contrib/setup-purescript@main
18-
with:
19-
purescript: "unstable"
20-
purs-tidy: "latest"
21-
2216
- uses: actions/setup-node@v2
2317
with:
24-
node-version: "16"
18+
node-version: "24"
19+
cache: npm
2520
- name: Cache PureScript dependencies
2621
uses: actions/cache@v2
2722
with:
28-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
23+
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock', 'package-lock.json') }}
2924
path: |
3025
.spago
31-
output
3226
- name: Install dependencies
33-
run: spago install
27+
run: npm ci
3428

3529
- name: Build source
36-
run: spago build --no-install --purs-args '--censor-lib --strict'
30+
run: npm run build
3731

3832
- name: Run tests
39-
run: spago -x test.dhall test
33+
run: npm test
4034

4135
- name: Check formatting
42-
run: purs-tidy check src test
43-
44-
- name: Verify Bower & Pulp
45-
run: |
46-
npm install bower pulp@16.0.0-0
47-
npx bower install
48-
npx pulp build -- --censor-lib --strict
49-
if [ -d "test" ]; then
50-
npx pulp test
51-
fi
36+
run: npm run check

‎bower.json‎

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

0 commit comments

Comments
 (0)