-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 1.01 KB
/
general-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: General Tests
on: [push, pull_request]
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
- name: Install Node v16
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # tag=v3
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Run ESLint
run: yarn lint
typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
- name: Install Node v16
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # tag=v3
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Generate Prisma Types
run: yarn prisma:generate
- name: TypeScript Compiler
run: yarn build