Compare commits

...

2 Commits

Author SHA1 Message Date
fetsorn
94d6ed4e79
Merge e3aceb7367 into 6d0aba0f34 2024-07-15 19:11:13 +00:00
fetsorn
e3aceb7367 check formatting in ci 2024-07-15 23:11:02 +04:00
2 changed files with 3 additions and 6 deletions

View File

@ -27,8 +27,4 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: npm run format - run: npm run check
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply formatting changes

View File

@ -11,7 +11,8 @@
}, },
"scripts": { "scripts": {
"test": "npx spago@next test", "test": "npx spago@next test",
"format": "npx prettier --write src/**/*.js test/**/*.js; npx purs-tidy format-in-place src/**/*.purs test/**/*.purs" "format": "npx prettier --write src/**/*.js test/**/*.js; npx purs-tidy format-in-place src/**/*.purs test/**/*.purs",
"check": "npx prettier --check src/**/*.js test/**/*.js; npx purs-tidy check src/**/*.purs test/**/*.purs"
}, },
"repository": { "repository": {
"type": "git", "type": "git",