Fix merge conflict resolution #20229
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Audit | |
| on: [push, pull_request] | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-22.04 | |
| if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js LTS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/-1 | |
| - run: | | |
| npm install -g pnpm | |
| pnpm install | |
| - name: Check Vulnerabilities | |
| run: pnpm audit --prod | |
| audit-all: | |
| runs-on: ubuntu-22.04 | |
| continue-on-error: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js LTS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/-1 | |
| - run: | | |
| npm install -g pnpm | |
| pnpm install | |
| - name: Check All Vulnerabilities (including dev) | |
| run: pnpm audit --audit-level high |