Skip to content

Commit

Permalink
Merge pull request #1706 from genesiscommunitysuccess/test-build
Browse files Browse the repository at this point in the history
hardcode node v20.12.2 for build pipeline
  • Loading branch information
GuiWar authored Jun 5, 2024
2 parents 8eb17dd + f92f3bd commit 5e08220
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [20.12.2]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -24,21 +24,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install CDK dependencies
working-directory: ./infra
run: npm install

- name: Run CDK tests
working-directory: ./infra
run: npm test

- name: Install Docusaurus dependencies
run: npm install

- name: Build Docusaurus and check for broken links
run: |
export NODE_OPTIONS="--max-old-space-size=8192"
npm run build
run: npm run build
env:
BRANCH: ${{ github.base_ref }}
BASE_URL: /docs/
NODE_OPTIONS: "--max-old-space-size=8192"

0 comments on commit 5e08220

Please sign in to comment.