Skip to content

Commit fa6f26c

Browse files
Modernize CI and development tooling
1 parent bf9d33d commit fa6f26c

7 files changed

Lines changed: 785 additions & 1168 deletions

File tree

‎.eslintrc.json‎

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

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,24 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414

15-
- uses: purescript-contrib/setup-purescript@main
15+
- uses: actions/setup-node@v6
1616
with:
17-
purescript: "unstable"
18-
purs-tidy: "latest"
19-
20-
- uses: actions/setup-node@v3
21-
with:
22-
node-version: "lts/*"
17+
node-version: "24"
18+
cache: npm
2319

2420
- name: Install dependencies
25-
run: |
26-
npm install -g bower
27-
npm install
28-
bower install --production
21+
run: npm ci
2922

3023
- name: Build source
31-
run: npm run-script build
24+
run: npm run build
3225

3326
- name: Run tests
34-
run: |
35-
bower install
36-
npm run-script test --if-present
37-
27+
run: npm test
28+
29+
- name: Lint FFI
30+
run: npm run lint
31+
3832
- name: Check formatting
39-
run: |
40-
purs-tidy check src test
41-
33+
run: npm run format:check

‎.gitignore‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/.*
22
!/.gitignore
3-
!/.eslintrc.json
3+
!/.oxfmtrc.json
44
!/.github/
5-
/bower_components/
65
/node_modules/
76
/output/

‎.oxfmtrc.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"trailingComma": "es5"
3+
}

0 commit comments

Comments
 (0)