fix: Increase memory for running Snyk

Signed-off-by: Adam Harvey <aharvey00@gmail.com>
This commit is contained in:
Adam Harvey
2023-08-16 10:04:33 -04:00
parent 41a2601ef6
commit f53890e6c8
+2 -2
View File
@@ -30,7 +30,7 @@ jobs:
--remote-repo-url=https://github.com/backstage/backstage
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
NODE_OPTIONS: --max-old-space-size=7168
# 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.
@@ -45,7 +45,7 @@ jobs:
--sarif-file-output=snyk.sarif
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
NODE_OPTIONS: --max-old-space-size=7168
- name: Upload Snyk report
uses: github/codeql-action/upload-sarif@v2
with: