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",