From 46da31657c2b0d98713317022bba58aea88329a0 Mon Sep 17 00:00:00 2001 From: aboudjem Date: Wed, 8 Nov 2023 19:03:48 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20add=20lint=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push_check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/push_check.yml b/.github/workflows/push_check.yml index b47716e..c8f9b30 100644 --- a/.github/workflows/push_check.yml +++ b/.github/workflows/push_check.yml @@ -1,6 +1,28 @@ name: Test workflow on: push jobs: + lint: + name: Lint sources + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - name: Checkout + uses: 'actions/checkout@main' + - name: Set Node.js + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Create a fake .secret file + run: echo "primary twist rack vendor diagram image used route theme frown either will" > .secret + - name: Install dependencies + run: yarn install --frozen-lockfile && yarn build + - name: Lint sources + run: + yarn lint:sol + unit_test: name: Unit tests runs-on: ubuntu-latest