From ddd0c6b0a7f08047aec8b747f75aa12865bda0ff Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Aug 2022 17:03:47 +0200 Subject: [PATCH 1/2] chore(deps): update github/codeql-action action to v2 (#2938) Co-authored-by: Daniel Dyla --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4b424dfb7d2..659cde8d2f1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,12 +24,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: javascript - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 From 0c133431504b9e8018bd1d5f5634b3a6767ce4a2 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Sat, 6 Aug 2022 11:33:50 -0400 Subject: [PATCH 2/2] chore: fix docs deployment (#3044) * Increase max old space size * Reduce max free space to 4096 * No need to expand memory on docs test * Increase headroom Testing shows that the docs generation uses about 3.9GB so a bit of headroom seems like a good idea --- .github/workflows/docs.yaml | 2 ++ .github/workflows/lint.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 232a90dc7dd..d11fe80ab61 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -44,6 +44,8 @@ jobs: - name: Build Docs run: npm run docs + env: + NODE_OPTIONS: --max-old-space-size=6144 - name: Deploy Documentation 🚀 uses: JamesIves/github-pages-deploy-action@releases/v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 998cb4f00c6..a7ed8138d4c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -60,5 +60,5 @@ jobs: - name: Lint doc files run: | npm run compile - NODE_OPTIONS=--max-old-space-size=4096 npm run docs + NODE_OPTIONS=--max-old-space-size=6144 npm run docs npm run docs:test