Fix import to fix build #203
This file contains hidden or 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: Backend tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - prod | |
| - 699-create-integration-tests | |
| pull_request: | |
| branches: | |
| - main | |
| - prod | |
| - 699-create-integration-tests | |
| jobs: | |
| test-backend: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: backend | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| cache-dependency-path: 'backend/package-lock.json' | |
| - name: Install deps | |
| run: npm ci | |
| - name: Run backend tests | |
| run: npm test |