From 6acd7f49f22c3f444a077c79cf9997bc3c6267d6 Mon Sep 17 00:00:00 2001 From: WindRunnerMax <651525974@qq.com> Date: Wed, 16 Oct 2024 13:10:09 +0800 Subject: [PATCH] chore: IMMUTABLE_INSTALLS ? --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f421f8a537..5f0d330c6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,6 @@ jobs: key: node20 - name: Run ${{ matrix.command }} - run: yarn && yarn build && yarn ${{ matrix.command }} + run: export YARN_ENABLE_IMMUTABLE_INSTALLS=false && yarn && yarn build && yarn ${{ matrix.command }} env: CI: true diff --git a/package.json b/package.json index 076e422e89..69b34f32a0 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "test": "yarn run test:mocha && yarn run test:jest", "test:custom": "mocha --require ./config/babel/register.cjs ./packages/slate/test/index.js", "test:inspect": "yarn test --inspect-brk", - "test:integration": "sudo apt-get update && playwright install --with-deps && run-p -r serve playwright", + "test:integration": "playwright install --with-deps && run-p -r serve playwright", "test:integration-local": "playwright install && run-p -r serve playwright", "test:mocha": "mocha --require ./config/babel/register.cjs ./packages/{slate,slate-history,slate-hyperscript}/test/**/*.{js,ts}", "test:jest": "jest --config jest.config.js",