Skip to content

build(deps): bump the production-dependencies group across 1 directory with 7 updates #862

build(deps): bump the production-dependencies group across 1 directory with 7 updates

build(deps): bump the production-dependencies group across 1 directory with 7 updates #862

name: frontend_on_push_branch_execute_ci_cd
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NODE_VERSION: "24"
PNPM_VERSION: "10.33.4"
jobs:
dependency-review:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4
with:
fail-on-severity: high
pnpm_tasks:
runs-on: ubuntu-latest
strategy:
matrix:
task: [lint, test, build]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: ${{ env.NODE_VERSION }}
- shell: bash
run: |
corepack enable
corepack prepare pnpm@${{ env.PNPM_VERSION }} --activate
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ~/.local/share/pnpm/store
key: pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-store-${{ runner.os }}-
- run: pnpm install --frozen-lockfile
- name: Security audit (advisory)
run: pnpm audit --audit-level=high --prod
continue-on-error: true
- run: pnpm run ${{ matrix.task }}