mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
This change adds a workflow for PR builds, that runs the e2e tests for `eslint-plugin-react-hooks` created in #32396 
13 lines
338 B
JavaScript
13 lines
338 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import {exec} from 'node:child_process';
|
|
import {dirname, resolve} from 'node:path';
|
|
import {fileURLToPath} from 'node:url';
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
exec('yarn build -r stable eslint-plugin-react-hooks', {
|
|
cwd: resolve(__dirname, '..', '..'),
|
|
});
|