WPT-diff is a test runner for web-platform-tests, which features its own test harness
- Ensure you have pnpm installed
- Clone the git repository with
git clone --recursive https://github.com/MercuryWorkshop/wpt-diff - Install the dependencies with
pnpm i - Create a config. You can use the example with
mv config.example.toml config.toml. - Run
pnpm generate:validatorsto generate type validations (optional) - Run the CLI
pnpm start
Use the action at action.yml You could also see the Scramjet Workflow that uses this action for an example You need to provide a script with the same API as setupPage from Scramjet