mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
test(pack-up): add ENV to allow immutable installs in yarn 4 (#18814)
* test(pack-up): add ENV to allow immutable installs in yarn 4 * Revert "test(pack-up): add ENV to allow immutable installs in yarn 4" This reverts commit 375c8949a015969797db41572c043c15d4b9f023. * chore: go back to yarn4 * Revert "chore: go back to yarn4" This reverts commit 1c17a48ccacba1d1a40f28191119b2d446955b16. * chore: add env * chore: pass it directly to exec * Revert "chore: pass it directly to exec" This reverts commit 36a2b7cb96e1607a312ab69faa8dc9c370c4d219.
This commit is contained in:
parent
aba24cb6e0
commit
6dc2847fee
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -93,6 +93,8 @@ jobs:
|
||||
name: 'unit_back (node: ${{ matrix.node }})'
|
||||
needs: [changes, build]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
||||
strategy:
|
||||
matrix:
|
||||
node: [18, 20]
|
||||
|
@ -100,7 +100,7 @@ const spawn = async (projectName: string): Promise<Project> => {
|
||||
|
||||
return {
|
||||
cwd: tmpPath,
|
||||
install: () => execute('yarn install --no-immutable'),
|
||||
install: () => execute('yarn install'),
|
||||
remove: tmpRemove,
|
||||
run: (cmd: string) => execute(`yarn run ${cmd}`),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user