Skip to content

Commit

Permalink
move ci run to npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Aug 31, 2023
1 parent 70bb74e commit 0da5698
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: npm run lint

- name: Check Formatting
run: prettier --check \src
run: npm run check-format
photon-build-examples:
runs-on: ubuntu-22.04
name: "Build Examples"
Expand Down
3 changes: 2 additions & 1 deletion photon-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"preview": "vite preview --port 4173",
"build-only": "vite build",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
"format": "prettier --write src/",
"check-format": "prettier --check src/"
},
"dependencies": {
"@fontsource/prompt": "^5.0.5",
Expand Down

0 comments on commit 0da5698

Please sign in to comment.