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