Merge pull request #14051 from willyguggenheim/patch-1

To Solve Snyk Action JavaScript OutOfMemory
This commit is contained in:
Patrik Oldsberg
2022-10-08 15:22:26 +02:00
committed by GitHub
+2
View File
@@ -30,6 +30,7 @@ jobs:
--remote-repo-url=https://github.com/backstage/backstage
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
# Above we run the `monitor` command, this runs the `test` command which is
# the one that generates the SARIF report that we can upload to GitHub.
@@ -44,6 +45,7 @@ jobs:
--sarif-file-output=snyk.sarif
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
- name: Upload Snyk report
uses: github/codeql-action/upload-sarif@v2
with: