Set localResourceRoots in webview options to allow using local forms … #219
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: CVE Scanning | |
on: | |
push: | |
jobs: | |
node-modules-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Set up yarn | |
run: | | |
corepack enable | |
- name: Build project with yarn | |
run: yarn workspaces focus --all --production | |
working-directory: . | |
- name: Depcheck | |
uses: dependency-check/Dependency-Check_Action@1b5d19fd4a32ff0ff982e8c9d8e27dbf7ac8a46c | |
id: Depcheck | |
with: | |
project: 'legend-engine-ide-vscode' | |
path: '.' | |
format: 'HTML' | |
out: 'reports' | |
args: > | |
--suppression allow-list.xml | |
--nodeAuditSkipDevDependencies | |
--nodePackageSkipDevDependencies | |
--failOnCVSS 7 | |
--enableRetired | |
- name: Upload Test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Depcheck report | |
path: ${{ github.workspace }}/reports |