Updated dependencies. #357
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@v4 | |
- uses: actions/setup-node@v4 | |
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 |