Skip to content

Commit 8378608

Browse files
committed
fix missing dev deps
1 parent 7d81982 commit 8378608

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pages.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ concurrency:
1313

1414
env:
1515
NEXT_TELEMETRY_DISABLED: 1
16-
NODE_ENV: production
1716

1817
jobs:
1918
build-and-deploy:
@@ -28,16 +27,16 @@ jobs:
2827
node-version: 20
2928
cache: npm
3029

31-
- name: Install dependencies
32-
run: npm install
30+
- name: Install dependencies (include dev)
31+
run: npm install --include=dev
3332

3433
- name: Build static export
3534
run: |
3635
if [ "${{ github.ref_name }}" = "refactor-2" ]; then
3736
export NEXT_BASE_PATH="/preview"
3837
export NEXT_ASSET_PREFIX="/preview"
3938
fi
40-
npm run export
39+
NODE_ENV=production npm run export
4140
4241
- name: Set publish dir
4342
id: dirs

0 commit comments

Comments
 (0)