From 97ffee47498defffd7e87d6ddec60579a549d0f3 Mon Sep 17 00:00:00 2001 From: Czy <651525974@qq.com> Date: Wed, 16 Oct 2024 22:54:14 +0800 Subject: [PATCH] fix: firefox test integration environment (#5742) * fix: fix firefox test integration env * chore: test ubuntu apt source * chore: IMMUTABLE_INSTALLS ? * fix: ubuntu version --- .github/workflows/ci.yml | 3 ++- package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f421f8a53..549b4d2fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,8 @@ permissions: jobs: ci: name: ${{ matrix.command }} - runs-on: ubuntu-latest + # Pin the version to avoid dependency installation issues + runs-on: ubuntu-22.04 strategy: matrix: command: diff --git a/package.json b/package.json index ba65c15db..69b34f32a 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "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": "playwright install && run-p -r serve playwright", - "test:integration-local": "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", "tsc:examples": "tsc --project ./site/tsconfig.example.json",