Skip to content

Commit

Permalink
Install playwright dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tygern committed Jun 12, 2024
1 parent d833865 commit f6bcee9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/set-up-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ PGPASSWORD=postgres psql -h localhost postgres -U postgres < databases/drop_and_
alembic upgrade head
DATABASE_URL="postgresql://localhost:5432/negotiator_test?user=negotiator&password=negotiator" alembic upgrade head

npm run build --prefix web-components
pushd web-components || exit
npm run build
npx playwright install-deps chromium
npx playwright install chromium
popd || exit
2 changes: 2 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
source venv/bin/activate
pip install -r requirements.txt
npm install --prefix web-components
npx --workspace web-components playwright install-deps chromium
npx --workspace web-components playwright install chromium
- name: install postgres client
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ help:

.PHONY: web-components/install
web-components/install:
npm install --prefix web-components
npm install --prefix web-components && pushd web-components && npx playwright install-deps chromium && npx playwright install chromium && popd

.PHONY: web-components/build
web-components/build:
Expand Down

0 comments on commit f6bcee9

Please sign in to comment.