Skip to content

Commit

Permalink
Fix Prettier job (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmokross authored May 13, 2024
1 parent 411c2f7 commit c212dea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ jobs:
- uses: bahmutov/npm-install@v1
- run: npm run lint -- --max-warnings=0

format:
name: Prettier
check-format:
name: Check Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- uses: bahmutov/npm-install@v1
- run: npx prettier --check
- run: npx prettier --check .

typecheck:
name: Typecheck
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"start": "remix-serve ./build/server/index.js",
"typecheck": "tsc",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"check-format": "npx prettier --check .",
"test": "vitest",
"e2e": "playwright test --ui",
"dev:storybook": "storybook dev -p 6006",
Expand Down

0 comments on commit c212dea

Please # to comment.