Update next.config.ts #335
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
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
test-app: | |
runs-on: ubuntu-latest | |
name: Test app | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
node-version: 22 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Test linting | |
run: npm run test:linting | |
- name: Test types | |
run: npm run test:types | |
- name: Test jest | |
run: npm run test:jest | |
- name: SonarQube Scan | |
uses: SonarSource/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
test-terraform: | |
runs-on: ubuntu-latest | |
name: Test Terraform | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup Terraform | |
uses: hashicorp/[email protected] | |
with: | |
terraform_version: 1.10.3 | |
- name: Test formatting | |
run: terraform fmt -list=true -check -recursive -diff |