Skip to content

Commit

Permalink
ci: run format
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmccurdy committed Apr 22, 2023
1 parent cf6f507 commit 99e78ff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Lint
run: pnpm lint

- name: Format
run: pnpm exec prettier --check --ignore-path ./dev/configs/.prettierignore .

- name: Test
run: pnpm testRepo

Expand Down
2 changes: 1 addition & 1 deletion dev/arktype.io/docs/api/narrow.md
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -31,7 +31,7 @@
],
"packageManager": "pnpm@8.3.1",
"scripts": {
"prChecks": "pnpm install && pnpm build && pnpm typecheck && pnpm lint && pnpm testRepo && pnpm docgen && pnpm buildSite",
"prChecks": "pnpm install && pnpm build && pnpm typecheck && pnpm lint && pnpm format && pnpm testRepo && pnpm docgen && pnpm buildSite",
"typecheck": "tsc --noEmit",
"build": "ts-node ./dev/scripts/build.ts",
"buildRepo": "pnpm build && pnpm docgen && pnpm buildSite",
Expand Down

0 comments on commit 99e78ff

Please sign in to comment.