mirror of
https://github.com/trycua/computer.git
synced 2026-01-05 12:59:58 -06:00
chore: set up pre-commit hooks and CI/CD workflow
- Add a new GitHub Actions workflow (`lint.yml`) - Update `CONTRIBUTING.md` and `Development.md` to reflect the new linting setup and guide contributors. - Include a TypeScript type checking script (`typescript-typecheck.js`)
This commit is contained in:
committed by
James Murdza
parent
e04bfaea5e
commit
51ee79a9d2
8
scripts/typescript-typecheck.js
Normal file
8
scripts/typescript-typecheck.js
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
try {
|
||||
execSync('pnpm -C libs/typescript -r run typecheck', { stdio: 'inherit' });
|
||||
} catch (err) {
|
||||
process.exit(1);
|
||||
}
|
||||
Reference in New Issue
Block a user