chore: Replacing IntelliJ min version (IGNITE-57) #4296
Workflow file for this run
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: Build | |
# Triggered on PRs against main branches | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
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 | |
env: | |
BRANCH: ${{ github.base_ref }} | |
BASE_URL: /docs/ |