-
I used to have a package.json script like this. "test:qunit": "set "NODE_OPTIONS=--openssl-legacy-provider" & set "NODE_ENV=test" & node ./tasks/execute test/qunit", But since I upgraded to Yarn 2+. It doesn't apply the set anymore in the same shell as the node task. And ending having something like this in my console. Job [2], 'set NODE_ENV=test' has ended Am I missing something?? Is there a way to tell it to run everything in the same shell? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yarn 2+ runs all scripts through a posix-like interpreter, for portability across systems. Replace your command by something like:
|
Beta Was this translation helpful? Give feedback.
Yarn 2+ runs all scripts through a posix-like interpreter, for portability across systems. Replace your command by something like: