Skip to content

Commit

Permalink
only build prod in prod env
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoYankee committed Sep 18, 2024
1 parent 5fdab84 commit ce5f770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
run: yarn install --immutable --immutable-cache --check-cache
- name: Build client
working-directory: client
run: yarn run build --environment=production
run: yarn run build
- name: Install netlify
# Use npm over yarn because yarn was not respecting the exact version of a dependency
run: npm i -g [email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
run: yarn install
- name: Build client
working-directory: client
run: yarn run build --environment=production
run: yarn run build
- name: Install netlify
# Use npm over yarn because yarn was not respecting the exact version of a dependency
run: npm i -g [email protected]
Expand Down

0 comments on commit ce5f770

Please sign in to comment.