Skip to content

Commit

Permalink
build docker b4 playwright (#529)
Browse files Browse the repository at this point in the history
* build docker b4 playwright

* ignoring tests aint that easy

* try this way

* try it this way

* try with direnv

* whoops

* need to allow first
  • Loading branch information
0xBigBoss authored Jul 4, 2024
1 parent 4754fab commit de1365c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,3 @@ tmp
**/.tamagui
.watchman**
**/vitest.config.ts.timestamp**

# ignore test files
**/*.spec.ts
**/*.test.ts
**/*.test.tsx
packages/playwright/**
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ jobs:
# shell: bash
# run: git diff --exit-code
# this is on purpose so we get github annotations
- name: Build Next.js
shell: bash
run: |
tilt ci yarn:install # install and setup env
direnv allow .
direnv exec . yarn web:docker:build # build nextjs docker image
- name: Playwright Tests
id: playwright
shell: bash
Expand Down
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ brew "nss" unless system "type nss-policy-check"
brew "sqlfluff" unless CI or system "sqlfluff --version"
brew "postgresql@15" unless system "type pg_dump"
brew "gnu-sed" unless system "gsed --version"
brew "direnv" unless system "direnv --version"
5 changes: 4 additions & 1 deletion tilt/common.tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ contract_files = files_matching(

DEBUG = os.getenv("DEBUG", "").find("tilt") != -1

CI = os.getenv("CI") != None
CI = os.getenv(
"CI",
config.tilt_subcommand == "ci",
)

config.define_string_list(
"args",
Expand Down

0 comments on commit de1365c

Please sign in to comment.