Skip to content

Commit

Permalink
fix: playwright on devcontainer creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorozenko committed Mar 11, 2024
1 parent 343939d commit 1e49ec3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
"ghcr.io/devcontainers/features/node:1": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "poetry install && playwright install",
"postCreateCommand": "poetry install && npm init playwright@latest && npx playwright install --with-deps",

// Configure tool-specific properties.
"customizations": {
Expand Down

0 comments on commit 1e49ec3

Please sign in to comment.