Merge pull request #523 from GenomicDataInfrastructure/renovate/patch… #1730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | |
# SPDX-FileContributor: Stichting Health-RI | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Run Tests | |
on: push | |
jobs: | |
test-frontend: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
run: | | |
npm install | |
- name: Test | |
run: | | |
npm run test | |
- name: SonarQube Scan | |
uses: SonarSource/sonarqube-scan-action@v4 | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
SONAR_HOST_URL: https://sonarcloud.io | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Prettier | |
run: | | |
npm run format | |
- name: Type check | |
run: | | |
npm run type-check | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v5 |