Skip to content

Commit 2e4a714

Browse files
Modernize formatting and CI tooling
1 parent 02fa21e commit 2e4a714

7 files changed

Lines changed: 4889 additions & 51 deletions

File tree

‎.eslintrc.json‎

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

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,17 @@ 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
2521
run: |
2622
npm install -g bower
27-
npm install
23+
npm ci
2824
bower install --production
2925
3026
- name: Build source
@@ -36,6 +32,4 @@ jobs:
3632
npm run-script test --if-present
3733
3834
- name: Check Formatting
39-
if: runner.os == 'Linux'
40-
run: |
41-
npx purs-tidy check src
35+
run: npm run format:check

‎.gitignore‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/.*
22
!/.gitignore
3-
!/.eslintrc.json
3+
!/.oxfmtrc.json
44
!/.github/
55
/bower_components/
66
/node_modules/
77
/output/
8-
package-lock.json

‎.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)