Skip to content

Commit

Permalink
Merge branch 'main' into code-checker-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 authored Nov 27, 2024
2 parents 0d7a414 + e42036b commit c50343b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

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

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn install && yarn build && yarn playwright install && sudo yarn playwright install-deps"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"test": "yarn workspaces foreach -A -v -p --exclude 'end-to-end-testing-{puppeteer,webdriver}' --exclude 'custom-testing-{crawling,measuring-performance}' --exclude 'unit-testing-angular' --exclude 'code-checker-*' run test",
"code-checker:comment": "echo 'First start the server with `yarn code-checker:start`, next run the tests with `yarn code-checker:test`. The tests are failing since the pages are purposefully not accessible; do not run them in blocking CI flows.'",
"code-checker:start": "yarn workspace code-checker-demo-site run dev",
"code-checker:test": "yarn workspaces foreach -A -v -p --include 'code-checker-*' --exclude 'code-checker-demo-site' run test"
"code-checker:test": "yarn workspaces foreach -A -v -p --include 'code-checker-*' --exclude 'code-checker-demo-site' run test",
"code-checker:cypress": "yarn workspace code-checker-cypress run test",
"code-checker:playwright": "yarn workspace code-checker-playwright run test",
"code-checker:puppeteer": "yarn workspace code-checker-puppeteer run test",
"code-checker:selenium": "yarn workspace code-checker-selenium run test"
},
"workspaces": [
"common",
Expand Down

0 comments on commit c50343b

Please sign in to comment.