Skip to content

Commit

Permalink
fix ci, add tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Apr 20, 2024
1 parent 503cc9f commit 859fe57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,15 @@ jobs:

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
- name: Build source
run: npm run-script build
run: npm run build

- name: Run tests
run: |
bower install
npm run-script test --if-present
npm run test
- name: Check formatting
run: |
purs-tidy check src test
npm run tidy-check
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"scripts": {
"clean": "rm -rf output",
"build": "spago build",
"test": "spago test"
"test": "spago test",
"tidy-check": "purs-tidy check src test"
},
"devDependencies": {
"purescript": "^0.15.15",
"purs-tidy": "^0.11.0",
"spago": "^0.21.0"
}
}

0 comments on commit 859fe57

Please sign in to comment.