Skip to content

Commit

Permalink
Merge pull request #364 from pwrdrvr/fix-cdk-version
Browse files Browse the repository at this point in the history
Fix cdk version
  • Loading branch information
huntharo authored Apr 25, 2024
2 parents 5bd0540 + 9c964ab commit dc7afc9
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 6 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@ env:
AWS_REGION: us-east-2

jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/configure-nodejs
with:
lookup-only: 'true' # We only want to lookup from the cache - if a hit, this job does nothing

build:
needs: [install-deps]
runs-on: ubuntu-latest
outputs:
prSuffix: ${{ steps.prSuffix.outputs.prSuffix }}
Expand Down Expand Up @@ -577,7 +586,8 @@ jobs:
npm run test:integration
build-jsii:
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && contains( github.event.pull_request.labels.*.name, 'BUILD-JSII')) || (github.event_name == 'pull_request' && github.actor == 'dependabot[bot]')
# if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && contains( github.event.pull_request.labels.*.name, 'BUILD-JSII')) || (github.event_name == 'pull_request' && github.actor == 'dependabot[bot]')
needs: [install-deps]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ on:
# - main

jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/configure-nodejs
with:
lookup-only: 'true' # We only want to lookup from the cache - if a hit, this job does nothing

build:
name: Build CDK Construct
needs: [install-deps]
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@ on:
release:
types: [published]
jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/configure-nodejs
with:
lookup-only: 'true' # We only want to lookup from the cache - if a hit, this job does nothing

#
# CDK Construct
#
release:
name: Build CDK Construct
needs: [install-deps]
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion packages/microapps-cdk/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/microapps-cdk/.projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/microapps-cdk/.projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
description:
'MicroApps framework, by PwrDrvr LLC, delivered as an AWS CDK construct that provides the DynamoDB, Router service, Deploy service, API Gateway, and CloudFront distribution.',
cdkVersion: '2.95.0',
cdkVersionPinning: true,
cdkVersionPinning: false,
copyrightOwner: 'PwrDrvr LLC',
copyrightPeriod: '2020',
defaultReleaseBranch: 'main',
Expand Down
2 changes: 1 addition & 1 deletion packages/microapps-cdk/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc7afc9

Please sign in to comment.