Skip to content

Commit f036a6e

Browse files
Modernize CI and formatting tools
1 parent bb5b98c commit f036a6e

8 files changed

Lines changed: 782 additions & 1156 deletions

File tree

‎.eslintrc.json‎

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

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ 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-
purs-tidy: "latest"
18-
19-
- uses: actions/setup-node@v3
20-
with:
21-
node-version: "lts/*"
17+
node-version: "24"
18+
cache: npm
2219

2320
- name: Install dependencies
24-
run: |
25-
npm ci
21+
run: npm ci
22+
23+
- name: Lint FFI
24+
run: npm run lint
2625

2726
- name: Build source
2827
run: npm run-script build
@@ -31,5 +30,4 @@ jobs:
3130
run: npm test
3231

3332
- name: Check formatting
34-
run: |
35-
purs-tidy check src test
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)