Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Switch all scripts in pkg.json to use yarn #491

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading