ci: update CI workflow for Yarn integration and caching
Some checks failed
CI/CD Pipeline / Quick Checks (pull_request) Successful in 19s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Test & Coverage (pull_request) Successful in 12s
CI/CD Pipeline / Security Audit (pull_request) Failing after 46s
CI/CD Pipeline / Build Application (pull_request) Successful in 26s
Some checks failed
CI/CD Pipeline / Quick Checks (pull_request) Successful in 19s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Test & Coverage (pull_request) Successful in 12s
CI/CD Pipeline / Security Audit (pull_request) Failing after 46s
CI/CD Pipeline / Build Application (pull_request) Successful in 26s
This commit is contained in:
@ -174,8 +174,17 @@ jobs:
|
||||
with:
|
||||
bun-version: ${{ env.BUN_VERSION }}
|
||||
|
||||
- name: Install node_modules with yarn lockfile
|
||||
run: bun install --frozen-lockfile --yarn
|
||||
- name: Setup Yarn
|
||||
run: bun install -g yarn
|
||||
|
||||
- name: Run dependency vulnerability check
|
||||
run: bunx audit-ci --moderate --report-type summary
|
||||
- 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 with yarn (if cache miss)
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Run dependency vulnerability check with yarn
|
||||
run: yarn audit-ci --moderate --report-type summary
|
||||
|
Reference in New Issue
Block a user