Skip to content

chore(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates #159

chore(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates

chore(deps-dev): bump the dev-dependencies group across 1 directory with 4 updates #159

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check legacy test import paths
run: |
if rg -n "(\\.{2}/)+src/(api|web|core|shared|cli|providers|ui)/|from ['\"]/src/" tests; then
echo "Legacy or absolute /src imports found in tests."
exit 1
fi
- name: Build
run: npm run build
- name: Verify build artifacts
run: |
test -f dist/index.js
test -f dist/presentation/api/jobs/jobRegistry.js
test -f dist/domain/shared/contracts.js
- name: Lint
run: npm run lint
- name: Check generated icons
run: npm run icons:check
- name: Run unit tests
run: npm run test:unit
- name: Run accessibility tests
run: npm run test:a11y
- name: Run tests with coverage
run: npm run test:coverage
- name: Run integration tests
run: npm run test:integration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage/lcov.info
if: matrix.node-version == '20'
security:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: github/codeql-action/init@v3
with:
languages: javascript
- uses: github/codeql-action/analyze@v3