[fix] Begrens limit og escape spesialtegn i søk #15
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: Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: self-hosted | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: | | |
| package-lock.json | |
| backend/package-lock.json | |
| - run: npm ci | |
| - run: npm ci --prefix backend | |
| - name: Frontend tests (components and hooks) | |
| run: npm test | |
| - name: API tests (GraphQL against in-memory test database) | |
| run: npm run test:api |