Skip to content

Commit

Permalink
only set NODE_ENV=production for build so we still get devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjg committed May 24, 2024
1 parent 41c7e29 commit a20711a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
env:
# This is used in vanilla/vite.config.ts to set the base path
GITHUB_PAGES: true
# This will turn on the demo mode in the playground so only a simple side
# by side demo is built
NODE_ENV: production
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -44,6 +41,10 @@ jobs:
run: npm ci
- name: Build
run: npm run playground:build
env:
# This will turn on the demo mode in the playground so only a simple side
# by side demo is built
NODE_ENV: production
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down

0 comments on commit a20711a

Please sign in to comment.