Files
bitvid/dist/examples/reproducers/issue-2-css-lint/repro.mjs
T
google-labs-jules[bot]andPR0M3TH3AN 0bfa3b08e8 fix(ci): fix netlify deployment by building to dist
- Move from root publishing to clean `dist/` directory
- Create `scripts/build-dist.mjs` to orchestrate build and copy assets
- Update `package.json` build script
- Update `netlify.toml` to publish `dist/`
- Ignore `dist/` in `.gitignore`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 09:07:15 +00:00

15 lines
435 B
JavaScript

import { spawn } from 'node:child_process';
console.log("Running lint:tokens to reproduce the issue...");
const child = spawn('npm', ['run', 'lint:tokens'], { stdio: 'inherit', shell: true });
child.on('exit', (code) => {
if (code !== 0) {
console.log("\nReproduced: Lint check failed as expected.");
process.exit(code);
} else {
console.log("\nFailed to reproduce: Lint check passed.");
process.exit(0);
}
});