2022-03-13 02:38:33 +01:00
|
|
|
name: Lint
|
2020-11-18 20:03:23 +01:00
|
|
|
|
2022-03-19 16:06:43 +01:00
|
|
|
on: [push, pull_request]
|
2020-11-18 20:03:23 +01:00
|
|
|
|
|
|
|
jobs:
|
2021-12-16 20:00:21 +01:00
|
|
|
build:
|
2022-03-13 02:38:33 +01:00
|
|
|
name: Lint
|
2021-12-16 20:00:21 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: '16'
|
2022-03-13 22:40:33 +01:00
|
|
|
cache: 'yarn'
|
2021-12-16 20:00:21 +01:00
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn install
|
2022-02-12 03:18:53 +01:00
|
|
|
- name: Generate Prisma client
|
|
|
|
run: yarn prisma generate
|
2021-12-16 20:00:21 +01:00
|
|
|
- name: Run lint
|
|
|
|
run: yarn lint
|