Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .eslintrc.json

This file was deleted.

35 changes: 10 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: Set up a PureScript toolchain
uses: purescript-contrib/setup-purescript@main
- uses: actions/setup-node@v6
with:
purescript: "unstable"
purs-tidy: "latest"

- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "24"
cache: npm
- name: Cache PureScript dependencies
uses: actions/cache@v2
uses: actions/cache@v5
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock', 'package-lock.json') }}
path: |
.spago
output
- name: Install dependencies
run: spago install
run: npm ci

- name: Build source
run: spago build --no-install --purs-args '--censor-lib --strict'
run: npm run build

- name: Run tests
run: spago -x test.dhall test
run: npm test

- name: Check formatting
run: purs-tidy check src test

- name: Verify Bower & Pulp
run: |
npm install bower pulp@16.0.0-0
npx bower install
npx pulp build -- --censor-lib --strict
if [ -d "test" ]; then
npx pulp test
fi
run: npm run check
3 changes: 3 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "es5"
}
30 changes: 0 additions & 30 deletions bower.json

This file was deleted.

Loading
Loading