fix(vscode): Allow VsCode extension without espree detection #13353
This file contains 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: NPM Audit | |
concurrency: | |
group: ci-${{ github.ref }}-${{ inputs.ref }}-audit | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
on: | |
workflow_call: | |
inputs: | |
ref: | |
type: string | |
default: '' | |
description: The branch, tag or SHA to checkout. | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ inputs.ref }} | |
- 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 | |