Skip to content

Commit

Permalink
Set NODE_ENV=production during installation
Browse files Browse the repository at this point in the history
This prevents installation of devDependencies in the current project.
There are none at the moment for both nextstrain.org and auspice.us, but
if that ever changes in the future, we would want to ignore them in this
step.
  • Loading branch information
victorlin committed Oct 21, 2024
1 parent c90a465 commit 2aba0cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview_on_downstream_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- name: Install Auspice from PRs HEAD commit
shell: bash
working-directory: ${{ inputs.directory }}
env:
NODE_ENV: production
run: |
npm config set ignore-scripts true
npm ci
Expand Down

0 comments on commit 2aba0cf

Please sign in to comment.