Skip to content

Upgrade nodejs runtime to 16.x (v2 branch) #350

Upgrade nodejs runtime to 16.x (v2 branch)

Upgrade nodejs runtime to 16.x (v2 branch) #350

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: Grant Docker permissions
run: sudo chmod 666 /var/run/docker.sock
- 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