fix(deps): override vite to 7.1.11 to resolve security vulnerability #141
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: CI Pipeline | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| quality-checks: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint all projects | |
| run: npm run lint | |
| - name: Build all projects | |
| run: npm run build:ci | |
| - name: Test ngx-dashboard (331 tests) | |
| run: | | |
| timeout 300 npx ng test ngx-dashboard --no-watch --browsers=ChromeHeadless --code-coverage | |
| - name: Test ngx-dashboard-widgets (86 tests) | |
| run: | | |
| timeout 300 npx ng test ngx-dashboard-widgets --no-watch --browsers=ChromeHeadless --code-coverage | |
| - name: Test demo (33 tests) | |
| run: | | |
| timeout 300 npx ng test demo --no-watch --browsers=ChromeHeadless --code-coverage | |
| - name: Security audit (BLOCKING) | |
| run: npm audit --audit-level=moderate |