Force include dev dependencies
This commit is contained in:
@@ -6,9 +6,6 @@ jobs:
|
||||
name: Test, Build, and Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
|
||||
with:
|
||||
@@ -17,11 +14,14 @@ jobs:
|
||||
- name: Install Wrangler
|
||||
run: npm install -g wrangler
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
run: npm ci --include=dev
|
||||
|
||||
- name: Check Formatting
|
||||
run: npx prettier -c .
|
||||
run: npm run check-format
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "remix build --sourcemap",
|
||||
"check-format": "prettier -c .",
|
||||
"format": "prettier -wc .",
|
||||
"publish": "remix build --sourcemap && wrangler pages deploy public"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user