ci: remove redundant artifact uploads from CI workflow
Some checks failed
CI/CD Pipeline / Quick Checks (pull_request) Successful in 21s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Test & Coverage (pull_request) Successful in 13s
CI/CD Pipeline / Security Audit (pull_request) Failing after 15s
CI/CD Pipeline / Build Application (pull_request) Successful in 28s
Some checks failed
CI/CD Pipeline / Quick Checks (pull_request) Successful in 21s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Test & Coverage (pull_request) Successful in 13s
CI/CD Pipeline / Security Audit (pull_request) Failing after 15s
CI/CD Pipeline / Build Application (pull_request) Successful in 28s
This commit is contained in:
@ -121,14 +121,6 @@ jobs:
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=4096
|
||||
|
||||
- name: Upload coverage reports
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: coverage-report
|
||||
path: coverage/
|
||||
retention-days: 7
|
||||
|
||||
# Job 4: Build (depends on tests passing)
|
||||
build:
|
||||
name: Build Application
|
||||
@ -167,13 +159,6 @@ jobs:
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=4096
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-files
|
||||
path: .next/
|
||||
retention-days: 7
|
||||
|
||||
# Job 5: Security audit (can run in parallel)
|
||||
security-audit:
|
||||
name: Security Audit
|
||||
@ -189,14 +174,8 @@ jobs:
|
||||
with:
|
||||
bun-version: ${{ env.BUN_VERSION }}
|
||||
|
||||
- name: Restore node_modules cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: node_modules
|
||||
key: node-modules-${{ needs.quick-checks.outputs.cache-key }}
|
||||
|
||||
- name: Install dependencies (if cache miss)
|
||||
run: bun install
|
||||
- name: Install node_modules with yarn lockfile
|
||||
run: bun install --frozen-lockfile --yarn
|
||||
|
||||
- name: Run security audit
|
||||
run: bun audit --audit-level moderate
|
||||
|
Reference in New Issue
Block a user