Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: |
Expand Down Expand Up @@ -183,7 +183,7 @@
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: |
Expand Down Expand Up @@ -230,7 +230,7 @@
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: |
Expand All @@ -253,7 +253,7 @@

# With unit + integration + TLS tests + coverage + SonarCloud report, after the rest of the tests.
# Needs all integration tests on all environments to pass.
# Should use only the current LTS version of Node.js.
# It should use only the current LTS version of Node.js.
node-all-tests-with-coverage-and-sonar:
needs:
[
Expand All @@ -277,10 +277,10 @@
compose-file: 'docker-compose.yml'
down-flags: '--volumes'

- name: Setup NodeJS 20
- name: Setup NodeJS 22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: |
Expand All @@ -294,8 +294,9 @@
run: |
npm run test:node:coverage

- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true