aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/type-check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/type-check.yml')
-rw-r--r--.github/workflows/type-check.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml
new file mode 100644
index 0000000..bcdc39a
--- /dev/null
+++ b/.github/workflows/type-check.yml
@@ -0,0 +1,20 @@
+name: Type Check
+
+on: push
+
+jobs:
+ build:
+ name: Type Check
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-node@v2
+ with:
+ node-version: '16'
+ cache: 'yarn'
+ - name: Install dependencies
+ run: yarn install
+ - name: Generate Prisma client
+ run: yarn prisma generate
+ - name: Run type check
+ run: yarn tsc