Skip to content

fix(pipeline): cache yarn deps with corepack #12335

fix(pipeline): cache yarn deps with corepack

fix(pipeline): cache yarn deps with corepack #12335

Workflow file for this run

name: NPM Audit
concurrency:
group: ci-${{ github.ref }}-audit
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
on:
workflow_call:
push:
branches:
- main
- 'release/*'
pull_request:
branches:
- main
- 'release/*'
merge_group:
types: [checks_requested]
permissions:
contents: read
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup
uses: ./tools/github-actions/setup
- name: Audit
id: audit
uses: ./tools/github-actions/audit
with:
severity: critical
allWorkspaces: true
recursive: true
environment: all
- name: Summary
if: success() || failure()
run: echo "${{ steps.audit.outputs.reportMarkdown }}" >> $GITHUB_STEP_SUMMARY