1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 05:31:56 +02:00

fix: firefox test integration environment (#5742)

* fix: fix firefox test integration env

* chore: test ubuntu apt source

* chore: IMMUTABLE_INSTALLS ?

* fix: ubuntu version
This commit is contained in:
Czy
2024-10-16 22:54:14 +08:00
committed by GitHub
parent c9d94711cc
commit 97ffee4749
2 changed files with 4 additions and 3 deletions

View File

@@ -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:

View File

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