Skip to content

Commit

Permalink
build: turbo 2.0 has new env mode flag for environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aniravi24 committed Jun 26, 2024
1 parent 6ac14ca commit b96b4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: pnpm install && pnpm postinstall-steps

- name: Build and lint and type-check
run: pnpm build && pnpm turbo lint test-ci typecheck
run: pnpm build && pnpm turbo --env-mode=loose lint test-ci typecheck
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/sidetrack?sslmode=disable

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CI=true pnpm turbo build --force && CI=true pnpm turbo lint test typecheck --force
CI=true pnpm turbo --env-mode=loose build --force && CI=true pnpm turbo --env-mode=loose lint test typecheck --force

0 comments on commit b96b4b7

Please sign in to comment.