From 9678679cd34982ae3b3476d40e47e0d234daa4af Mon Sep 17 00:00:00 2001 From: Alisha Date: Thu, 5 Dec 2024 23:44:16 +0000 Subject: [PATCH] add second job --- .github/workflows/development.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index a7b0d9a0..95dc34d4 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -29,3 +29,18 @@ jobs: run: npm install -D jest-environment-jsdom - name: "Run tests" run: npm test + lint: + name: Code standards + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + + - name: "Setup node" + uses: actions/setup-node@v4 + with: + node-version: 16 + + - name: "Lint code" + run: npm run lint --if-present