Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,17 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: 'lts/*'
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using 'lts/*' for Node.js version introduces unpredictability in CI builds. Consider pinning to a specific LTS version (e.g., '20') to ensure consistent build environments across different runs.

Suggested change
node-version: 'lts/*'
node-version: '18'

Copilot uses AI. Check for mistakes.
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Verify esbuild version
run: npm ls esbuild

- name: Run security audit
run: npm audit --audit-level high
run: npm audit --omit=dev --audit-level=high

- name: Run dependency check
run: npx audit-ci --config audit-ci.json
Expand Down
Loading
Loading