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
4 changes: 2 additions & 2 deletions .github/workflows/e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
node-version: 20
cache: 'yarn'
cache-dependency-path: yarn.lock

Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
node-version: 20
cache: 'yarn'
cache-dependency-path: yarn.lock

Expand Down
12 changes: 0 additions & 12 deletions dev-packages/e2e-tests/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,6 @@ if (actions.includes('create')) {
env: env,
});

// Only apply the package.json patch for newer RN versions
const versionNumber = parseFloat(RNVersion.replace(/[^\d.]/g, ''));
if (versionNumber >= 0.80) {
execSync(`${patchScriptsDir}/rn.patch.package.json.js --path package.json`, {
stdio: 'inherit',
cwd: appDir,
env: env,
});
} else {
console.log(`Skipping rn.patch.package.json.js for RN ${RNVersion} (< 0.80)`);
}

// Install dependencies
// yalc add doesn't fail if the package is not found - it skips silently.
let yalcAddOutput = execSync(`yalc add @sentry/react-native`, { cwd: appDir, env: env, encoding: 'utf-8' });
Expand Down
50 changes: 0 additions & 50 deletions dev-packages/e2e-tests/patch-scripts/rn.patch.package.json.js

This file was deleted.

Loading