Skip to content
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

chore: Upgrade to Yarn 4.x #867

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Adapt smoke tests to Yarn 4.x
  • Loading branch information
armandabric committed Jan 13, 2025
commit 0909758448e3d0e31d0e599d637b5eeb9ca97967
4 changes: 4 additions & 0 deletions tests/smoke/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
nodeLinker: node-modules

enableHardenedMode: false
enableImmutableInstalls: false
4 changes: 3 additions & 1 deletion tests/smoke/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const preparePackageJson = reactVersion => () => {
path.join(__dirname, 'package.json'),
JSON.stringify(packageJson, null, 2)
);

fs.writeFileSync(path.join(__dirname, 'yarn.lock'), '');
};

const installDependencies = () => () =>
Expand All @@ -54,7 +56,7 @@ const installDependencies = () => () =>
return;
}

execSync('yarn install --no-lockfile', {
execSync('yarn install', {
cwd: __dirname,
stdio: 'inherit',
});
Expand Down
Loading