Skip to content

Commit

Permalink
chore: windows tests should preserve yarn.lock (#295)
Browse files Browse the repository at this point in the history
Windows tests should preserve yarn.lock

In the future we might want to use `--frozen-lockfile` but for now this will prevent windows tests from inadvertently upgrading dependencies.
  • Loading branch information
styfle authored Jun 9, 2022
1 parent e3f6b7a commit 0aefe4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (isWin) {
const pkgJson = readFileSync(join(__dirname, 'package.json'), 'utf8');
const pkg = JSON.parse(pkgJson);

unlinkSync(join(__dirname, 'yarn.lock'));
//unlinkSync(join(__dirname, 'yarn.lock'));
// Delete the integration tests that will never work in Windows
unlinkSync(join(__dirname, 'test', 'integration', 'tensorflow.js'));
unlinkSync(join(__dirname, 'test', 'integration', 'argon2.js'));
Expand Down

0 comments on commit 0aefe4d

Please sign in to comment.