Richard Simpson
01/27/2022, 9:14 PMaws-cdk-lib
and do something like sst update
in an action when sst
gets bumped?Frank
aws-cdk-lib
and @aws-cdk/*
packages. sst update
will update them to the latest supported version.Richard Simpson
01/27/2022, 10:21 PMFrank
Richard Simpson
01/27/2022, 10:26 PM# If this is a renovate PR, run SST update to make sure aws-cdk-lib is in sync.
- if: github.actor == 'renovate[bot]'
name: Get SST Version
id: sst-version
run: >
echo "::set-output name=version::$(jq '.dependencies["@serverless-stack/cli"]' package.json -j)"
- if: github.actor == 'renovate[bot]'
uses: uship/actions/sst-update@main
with:
version: ${{ steps.sst-version.outputs.version }}
Frank