Skip to content

Commit

Permalink
added prettier check to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Dec 12, 2024
1 parent 4c85928 commit 115bb36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: npm test
name: Build

on:
push:
Expand All @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "22"
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run linter
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"format:check": "prettier --check ./src",
"format": "prettier --write ./src",
"test": "vitest"
},
Expand Down

0 comments on commit 115bb36

Please sign in to comment.