Run linting only once

This commit is contained in:
Kristjan ESPERANTO 2025-02-16 00:37:37 +01:00
parent 229dbac93e
commit 9c3b399bdf
No known key found for this signature in database

View file

@ -6,6 +6,20 @@ env:
npm_config_cache: /tmp/npm-cache
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Use Node.js"
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: npm install
- run: npm run lint
unit-tests:
runs-on: ubuntu-latest
strategy:
@ -31,7 +45,6 @@ jobs:
path: ${{ env.npm_config_cache }}
- run: npm install
- run: npm run lint
- run: npm run test-unit
integration-tests: