ci: add lint job (#3079)

* ci: add lint job

* rebuild

* Revert "rebuild"

This reverts commit d330184140b64661027b634511bc5a8eb874a5ce.

* mad debugging

* wtf

* add eslintignore

* remove git status

---------

Co-authored-by: alxndrsn <alxndrsn>
This commit is contained in:
Alex Anderson 2023-10-19 22:24:22 +03:00 committed by GitHub
parent 16322c2d50
commit e8259e04fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

1
.eslintignore Normal file
View File

@ -0,0 +1 @@
/packages/*/dist/

View File

@ -6,7 +6,21 @@ permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- run: yarn install
- run: yarn lint
build:
needs: lint
runs-on: ubuntu-latest
services:
postgres: