Repository navigation
ci(e2e): Run E2E tests with pnpm 12 #25334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
+998
−406
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a55a673
ci(e2e): Run E2E tests with pnpm 12
s1gr1d 2da7679
Merge branch 'develop' into sig/e2e-pnpm-12
s1gr1d b4f49bd
fix CI failures
s1gr1d dad0c87
Merge branch 'develop' into sig/e2e-pnpm-12
s1gr1d 8d75018
fix CI failures
s1gr1d 29ae346
fix other next.js tests
s1gr1d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,11 @@ | ||
| name: 'Install pnpm' | ||
| description: 'Installs the pnpm version that Volta pins for a package.' | ||
| inputs: | ||
| package-json: | ||
| description: 'The package.json to read `volta.pnpm` from. `volta.extends` is followed until a version is found.' | ||
| default: 'package.json' | ||
| description: 'Puts the pnpm version from the root devDependencies on PATH. Run it after the dependencies are installed.' | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Resolve pnpm version | ||
| id: pnpm-version | ||
| # The devDependency is the one pnpm version for CI and local runs. An app that needs another version sets | ||
| # `packageManager` in its package.json, and pnpm switches to that version. | ||
| - name: Add pnpm to PATH | ||
| shell: bash | ||
| env: | ||
| PACKAGE_JSON: ${{ inputs.package-json }} | ||
| # Keep in sync with `getPnpmMajor` in `dev-packages/e2e-tests/lib/pnpmOverrides.ts`. It writes the overrides in | ||
| # the format of the version it finds, so a different lookup breaks the install. | ||
| run: | | ||
| package_json="$PACKAGE_JSON" | ||
| until version=$(jq -er '.volta.pnpm' "$package_json"); do | ||
| extends=$(jq -er '.volta.extends' "$package_json") || { | ||
| echo "::error::No volta.pnpm in $PACKAGE_JSON or the files it extends" | ||
| exit 1 | ||
| } | ||
| package_json="$(dirname "$package_json")/$extends" | ||
| done | ||
| echo "version=$version" >> "$GITHUB_OUTPUT" | ||
| - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 | ||
| with: | ||
| version: ${{ steps.pnpm-version.outputs.version }} | ||
| run: echo "$GITHUB_WORKSPACE/node_modules/pnpm" >> "$GITHUB_PATH" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| allowBuilds: | ||
| esbuild: true | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dev-packages/bundler-plugin-integration-tests/fixtures/vite4/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| allowBuilds: | ||
| esbuild: true | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dev-packages/bundler-plugin-integration-tests/fixtures/vite6/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| allowBuilds: | ||
| esbuild: true | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dev-packages/bundler-plugin-integration-tests/fixtures/vite7/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| allowBuilds: | ||
| esbuild: true | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dev-packages/bundler-plugin-integration-tests/fixtures/vite8/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dev-packages/bundler-plugin-integration-tests/fixtures/webpack5/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| minimumReleaseAge: 0 | ||
| overrides: | ||
| '@sentry/bundler-plugins': 'file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.7.0.tgz' | ||
| '@sentry/core': 'file:../../../../packages/core/sentry-core-11.7.0.tgz' | ||
| 'sentry': 'file:../sentry-stub' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.