Force include dev dependencies
This commit is contained in:
@@ -6,9 +6,6 @@ jobs:
|
|||||||
name: Test, Build, and Deploy
|
name: Test, Build, and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
|
||||||
with:
|
with:
|
||||||
@@ -17,11 +14,14 @@ jobs:
|
|||||||
- name: Install Wrangler
|
- name: Install Wrangler
|
||||||
run: npm install -g wrangler
|
run: npm install -g wrangler
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm install
|
run: npm ci --include=dev
|
||||||
|
|
||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
run: npx prettier -c .
|
run: npm run check-format
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"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