Merge pull request #578 from ansforge/lrm/server/upgrade-amqplib-2.0 #255
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: LRM Server CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'web/lrm/server/**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths: | |
| - 'web/lrm/server/**' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web/lrm/server | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24.11 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run type check | |
| run: npm run check-types | |
| - name: Run unit tests | |
| run: npm run test | |
| security-scan: | |
| uses: ./.github/workflows/security-scan.yml | |
| with: | |
| working-directory: 'web/lrm/server' | |
| project-type: 'nodejs' | |
| node-version: '24.11' | |
| component-name: 'lrm-server' | |
| scan-dockerfile: true |