From e8259e04fc0df5aacec432880fbbc3b8a193d4f1 Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Thu, 19 Oct 2023 22:24:22 +0300 Subject: [PATCH] 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 --- .eslintignore | 1 + .github/workflows/ci.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..050c3953 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +/packages/*/dist/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab5bef47..ed75cc39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: