Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,12 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Create list of E2E test projects
id: e2e-targets
run: |-
E2E_TEST_PROJECTS=$(pnpm m ls --depth=1 --json | jq -cr '[.[] | select(.name|endswith("e2e-tests")) | .name]')
echo "e2e-test-projects=$E2E_TEST_PROJECTS" >> $GITHUB_OUTPUT
E2E_TEST_PROJECTS=$(ls e2e-tests | gxargs -d '\n' -I '{}' cat e2e-tests/{}/package.json | jq .name)
FORMATTED_E2E_PROJECTS=$(echo $E2E_TEST_PROJECTS | jq -rcs)
echo "e2e-test-projects=$FORMATTED_E2E_PROJECTS" >> $GITHUB_OUTPUT
# The e2e tests run for quite a long time. Until we can accurately select the appropriate tests to run, we're running them in parallel (2 jobs per project, each with 3-4 worker processes.)
e2e-test:
name: "Run E2E Tests for ${{ matrix.project }} (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/revert-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build release-gate-tests
run: pnpm --filter @ev/revert-s3-deploy... build
run: pnpm --filter @repo/revert-s3-deploy... build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion actions/revert-deploy/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ev/revert-s3-deploy",
"name": "@repo/revert-s3-deploy",
"description": "GitHub Actions for revert S3 deployments",
"private": true,
"exports": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "@evervault/browser-e2e-tests",
"name": "@repo/browser-e2e-tests",
"version": "1.0.10",
"scripts": {
"dev:test": "playwright test",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/browser/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default defineConfig({
timeout: 20 * 1000,
},
{
command: "pnpm --filter=@evervault/browser-e2e-tests preview",
command: "pnpm --filter=@repo/browser-e2e-tests preview",
url: "http://localhost:4006",
timeout: 20 * 1000,
},
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/inputs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "@evervault/inputs-e2e-tests",
"name": "@repo/inputs-e2e-tests",
"version": "1.0.14",
"scripts": {
"dev:test": "playwright test",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/ui-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "@evervault/ui-components-e2e-tests",
"name": "@repo/ui-components-e2e-tests",
"version": "1.2.4",
"scripts": {
"e2e:test": "playwright test",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/ui-components/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default defineConfig({
timeout: 20 * 3000,
},
{
command: "pnpm --filter e2e-tests-ui-components-vanilla-server dev",
command: "pnpm --filter @repo/e2e-tests-ui-components-vanilla-server dev",
url: "http://localhost:4005",
timeout: 20 * 3000,
},
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/ui-components/vanilla-test-server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "e2e-tests-ui-components-vanilla-server",
"name": "@repo/e2e-tests-ui-components-vanilla-server",
"private": true,
"version": "0.0.44",
"type": "module",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ packages:
- packages/*
- examples/*
- e2e-tests/**
- pre-release/**
catalog:
"@actions/core": ^1.11.1
"@actions/github": ^6.0.0
Expand Down