Skip to content
Merged
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
38 changes: 0 additions & 38 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,44 +190,6 @@ jobs:
path: packages
- run: yarn test:integration-next

test-e2e:
# We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
# Dependabot PRs sadly also don't have access to secrets, so we skip them as well
if:
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
github.actor != 'dependabot[bot]' &&
false # Debug ID backend changes broke the E2E tests, we need to revisit them
needs: build
name: E2E Tests
runs-on: ubuntu-latest
env:
SENTRY_AUTH_TOKEN: ${{ secrets.E2E_TESTS_SENTRY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: volta-cli/action@007b1509d3ea9999dbba62ca34f4eb968363bb78 # v3
- name: Use dependency cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: .nxcache
key: build-cache-key-${{ runner.os }}-${{ matrix.target }}-${{ matrix.jobIndex }}-${{ github.run_id }}
restore-keys: |
build-cache-key-${{ runner.os }}-${{ matrix.target }}-${{ matrix.jobIndex }}-
- name: Install dependencies
run: yarn --frozen-lockfile --ignore-engines
if: steps.dependency-cache.outputs.cache-hit != 'true'
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: dist-artifacts-${{ github.run_id }}
path: packages
- run: yarn test:e2e

lint:
needs: build
name: Linter check
Expand Down
6 changes: 1 addition & 5 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
"printWidth": 100,
"experimentalSortPackageJson": false,
"trailingComma": "es5",
"ignorePatterns": [
"packages/e2e-tests/scenarios/*/ref/**/*",
"packages/bundler-plugin-core/test/fixtures",
".nxcache"
]
"ignorePatterns": ["packages/bundler-plugin-core/test/fixtures", ".nxcache"]
}
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"packages/babel-plugin-component-annotate",
"packages/bundler-plugin-core",
"packages/dev-utils",
"packages/e2e-tests",
"packages/esbuild-plugin",
"packages/eslint-configs",
"packages/integration-tests",
Expand All @@ -28,12 +27,10 @@
"check:types": "nx run-many --target=check:types --all",
"clean": "nx run-many --target=clean --all",
"clean:all": "nx run-many --target=clean:all --all && yarn",
"test": "nx run-many --target=test --all --exclude=@sentry-internal/bundler-plugin-e2e-tests",
Comment thread
cursor[bot] marked this conversation as resolved.
"test:all": "nx run-many --target=test --all",
"test:unit": "nx run-many --target=test --all --exclude=@sentry-internal/integration-tests,@sentry-internal/integration-tests-next,@sentry-internal/bundler-plugin-e2e-tests",
"test": "nx run-many --target=test --all",
"test:unit": "nx run-many --target=test --all --exclude=@sentry-internal/integration-tests,@sentry-internal/integration-tests-next",
"test:integration": "nx run @sentry-internal/integration-tests:test",
"test:integration-next": "nx run @sentry-internal/integration-tests-next:test",
"test:e2e": "nx run @sentry-internal/bundler-plugin-e2e-tests:test",
"lint": "nx run-many --target=lint --all",
"check:formatting": "oxfmt --check .",
"fix:formatting": "oxfmt ."
Expand Down
1 change: 0 additions & 1 deletion packages/e2e-tests/.env.example

This file was deleted.

17 changes: 0 additions & 17 deletions packages/e2e-tests/.eslintrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/e2e-tests/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions packages/e2e-tests/README.md

This file was deleted.

42 changes: 0 additions & 42 deletions packages/e2e-tests/package.json

This file was deleted.

This file was deleted.

Loading
Loading