Updated top level dependencies and fixed the build. #342
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 | |
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: Install Docker | |
run: | | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
- 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 |