Skip to content

Commit

Permalink
Check formatting in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed May 5, 2024
1 parent 730684a commit fad6586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ jobs:
- name: Install dependencies
run: yarn install --immutable

- name: Check formatting
run: yarn format:check

- name: Run the tests
run: yarn test-all
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"cli:help": "node index.js -h",
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",
"cli:yaml": "node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts",
"format": "biome format --write .",
"format:check": "biome format .",
"generate": "node tests/generate.js",
"generate-extended": "node tests/generate-extended.js",
"node": "node swagger-test-cli/generate.js",
Expand Down

0 comments on commit fad6586

Please sign in to comment.