Skip to content

Use Node v18 and v20 for build. Versions 14 and 16 are EOL as of 2024. #4

Use Node v18 and v20 for build. Versions 14 and 16 are EOL as of 2024.

Use Node v18 and v20 for build. Versions 14 and 16 are EOL as of 2024. #4

Workflow file for this run

name: Build
on:
push:
branches:
- master
- cdk2
pull_request:
branches:
- master
- cdk2
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18", "20"]
name: Node ${{ matrix.node }} build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Installing
run: yarn install --frozen-lockfile
- name: Linting
run: yarn lint
- name: Testing
run: yarn test
env:
NODE_OPTIONS: --max_old_space_size=4096
#- name: Anti-tamper check
# run: git diff --exit-code
container:
image: jsii/superchain:1-bullseye-slim