Skip to content

Bump cdk-nag from 2.35.69 to 2.35.106 #559

Bump cdk-nag from 2.35.69 to 2.35.106

Bump cdk-nag from 2.35.69 to 2.35.106 #559

Workflow file for this run

name: Test CDK Library
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
Run-CDK-Tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install --immutable
- run: yarn run check
- run: yarn run build
- run: yarn test