Skip to content

Commit

Permalink
Rin linter only once
Browse files Browse the repository at this point in the history
  • Loading branch information
KristjanESPERANTO committed Dec 8, 2024
1 parent 33ece8e commit d6af6a7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ 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: 22
cache: "npm"
- name: "Install dependencies"
run: |
npm run install-mm:dev
- name: "Run linter tests"
run: npm run lint
unit-tests:
runs-on: ubuntu-latest
strategy:
Expand All @@ -15,6 +31,7 @@ jobs:
- 18.x
- 20.x
- 22.x
- 23.x
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -31,7 +48,6 @@ jobs:
path: ${{ env.npm_config_cache }}
- run: npm install

- run: npm run lint
- run: npm run test-unit

integration-tests:
Expand Down

0 comments on commit d6af6a7

Please sign in to comment.