Add io generator and CI checks (#25)

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2021-02-08 21:54:18 +05:30 committed by GitHub
parent 88e0085544
commit 20a8e62ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 189 additions and 6660 deletions

10
git-hooks/pre-commit Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
### Copy this into .git/hooks and overwrite the empty one.
### This will ensure the bundle and ins-outs verification checks won't fail for you.
echo "----- Pre-commit -----"
set -ex
npx action-io-generator -o src/generated/inputs-outputs.ts
npm run bundle
git add -v dist/ src/generated