diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 595a6427..88d0b32b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -26,7 +26,7 @@ jobs: yarn lint yarn test yarn build:chrome - PREACT_VERSION=10 yarn test:e2e --retries 5 + yarn test:e2e:10 --retries 5 env: CI: true - name: Upload test results diff --git a/package.json b/package.json index 3d825809..a05f0c2c 100644 --- a/package.json +++ b/package.json @@ -29,11 +29,11 @@ "lint": "eslint 'src/**/*.{ts,tsx}' 'test-e2e/**/*.ts'", "test": "mochette -c tsconfig.cjs.json -r tools/test-setup.js 'src/**/*.test.{ts,tsx}'", "test:e2e": "node tools/fetch-preact-versions.mjs && playwright test", - "test:e2e:10": "PREACT_VERSION=10 npm run test:e2e", - "test:e2e:11": "PREACT_VERSION=11 npm run test:e2e", - "test:e2e:git": "PREACT_VERSION=git npm run test:e2e", - "test:e2e:all": "npm run test:e2e && npm run test:e2e:10", - "dev": "npm run dev:serve", + "test:e2e:10": "PREACT_VERSION=10 yarn test:e2e", + "test:e2e:11": "PREACT_VERSION=11 yarn test:e2e", + "test:e2e:git": "PREACT_VERSION=git yarn test:e2e", + "test:e2e:all": "yarn test:e2e && yarn test:e2e:10", + "dev": "yarn dev:serve", "dev:serve": "vite test-e2e/fixtures --port 8100", "run:chrome": "node tools/build.mjs --browser chrome --debug && mkdir -p ./profiles/chrome && node tools/run-chrome.js", "run:firefox": "node tools/build.mjs --browser firefox --debug && mkdir -p ./profiles/firefox && web-ext run --source-dir ./dist/firefox-debug/ --start-url https://preactjs.com --firefox-profile=./profiles/firefox --keep-profile-changes",