Avoid using npm run for formatting check (something up with the runner?)
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
run: npm run check-format
|
run: npx prettier -c .
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "remix build --sourcemap",
|
"build": "remix build --sourcemap",
|
||||||
"check-format": "prettier -c .",
|
|
||||||
"format": "prettier -wc .",
|
"format": "prettier -wc .",
|
||||||
"publish": "remix build --sourcemap && wrangler pages deploy public"
|
"publish": "remix build --sourcemap && wrangler pages deploy public"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user