Skip to content

fix: Fix webapp tests #1792

fix: Fix webapp tests

fix: Fix webapp tests #1792

Workflow file for this run

name: "Backend"
on:
push:
branches: [ '**' ]
env:
SB_BACKEND_BASE_IMAGE: python:3.11-slim-bullseye
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
node-version: [ 22, 24 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup
with:
node-version: ${{ matrix.node-version }}
- shell: bash
run: pnpm install
--include-workspace-root
--frozen-lockfile
--filter=backend...
- name: Lint infra
shell: bash
run: pnpm nx run backend:lint:js
- name: Lint & test backend
shell: bash
run: pnpm nx run backend:test
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7.0.0
if: env.SONAR_ORGANIZATION != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }}
SONAR_BACKEND_PROJECT_KEY: ${{ vars.SONAR_BACKEND_PROJECT_KEY }}
with:
projectBaseDir: packages/backend