From f7500d1b5a662401ab84add298c1a75f9473fded Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:20:15 -0800 Subject: [PATCH 1/2] ci(github): add actions --- .github/workflows/push.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 46c70bca..c5b69ee5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -28,6 +28,14 @@ jobs: - uses: './.github/actions/setup' - run: ./scripts/diff-lint + fixup: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: ianwremmel/prevent-fixup-commits@v1.0.8 + lint: needs: build runs-on: ubuntu-latest @@ -57,11 +65,21 @@ jobs: label: TSC report: 'reports/style/tsc.log' + nopush: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: ianwremmel/prevent-nopush-commits@v1.0.8 + release: needs: - build - diff + - fixup - lint + - nopush - test-integration - test-unit runs-on: ubuntu-latest @@ -98,8 +116,6 @@ jobs: strategy: fail-fast: false matrix: - # There should be one node for each example, but at time of writing, - # two of the examples are disabled due to issues with localstack. nodeCount: [5] nodeIndex: [0, 1, 2, 3, 4] steps: From 88eb4731865f3af52101c9e29795aa1ae93cecde Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:44:03 -0800 Subject: [PATCH 2/2] chore(deps): update lambda types dep --- package-lock.json | 12 ++++++------ .../foundation-runtime/package.json | 2 +- .../lambda-handlers/package.json | 2 +- .../@code-like-a-carpenter/telemetry/package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 331baa6d..fc941bca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7413,9 +7413,9 @@ "peer": true }, "node_modules/@types/aws-lambda": { - "version": "8.10.129", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.129.tgz", - "integrity": "sha512-0Rl7CpTPVws5cp0Ui1gZh4Q+TXC65bXVwTOGoI2RKW45dxWzyZGbjIX0uFjFYdIJ8vnD45y584rIIqvD2vBBfQ==" + "version": "8.10.131", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.131.tgz", + "integrity": "sha512-IWmFpqnVDvskYWnNSiu/qlRn80XlIOU0Gy5rKCl/NjhnI95pV8qIHs6L5b+bpHhyzuOSzjLgBcwgFSXrC1nZWA==" }, "node_modules/@types/babel__core": { "version": "7.20.3", @@ -25501,7 +25501,7 @@ "@opentelemetry/api": "1.4.0" }, "devDependencies": { - "@types/aws-lambda": "^8.10.125" + "@types/aws-lambda": "^8.10.131" }, "engines": { "node": "18.x", @@ -25567,7 +25567,7 @@ "zod-validation-error": "^2.1.0" }, "devDependencies": { - "@types/aws-lambda": "^8.10.129", + "@types/aws-lambda": "^8.10.131", "openapi-typescript": "^6.7.0" }, "engines": { @@ -25652,7 +25652,7 @@ "snake-case": "^3.0.4" }, "devDependencies": { - "@types/aws-lambda": "^8.10.129" + "@types/aws-lambda": "^8.10.131" }, "engines": { "node": "18.x", diff --git a/packages/@code-like-a-carpenter/foundation-runtime/package.json b/packages/@code-like-a-carpenter/foundation-runtime/package.json index 10c5c696..1c643b9e 100644 --- a/packages/@code-like-a-carpenter/foundation-runtime/package.json +++ b/packages/@code-like-a-carpenter/foundation-runtime/package.json @@ -34,6 +34,6 @@ "@opentelemetry/api": "1.4.0" }, "devDependencies": { - "@types/aws-lambda": "^8.10.125" + "@types/aws-lambda": "^8.10.131" } } diff --git a/packages/@code-like-a-carpenter/lambda-handlers/package.json b/packages/@code-like-a-carpenter/lambda-handlers/package.json index dff8b282..aaadfc83 100644 --- a/packages/@code-like-a-carpenter/lambda-handlers/package.json +++ b/packages/@code-like-a-carpenter/lambda-handlers/package.json @@ -32,7 +32,7 @@ "access": "public" }, "devDependencies": { - "@types/aws-lambda": "^8.10.129", + "@types/aws-lambda": "^8.10.131", "openapi-typescript": "^6.7.0" } } diff --git a/packages/@code-like-a-carpenter/telemetry/package.json b/packages/@code-like-a-carpenter/telemetry/package.json index 2f8b909e..a3e100ce 100644 --- a/packages/@code-like-a-carpenter/telemetry/package.json +++ b/packages/@code-like-a-carpenter/telemetry/package.json @@ -33,6 +33,6 @@ "snake-case": "^3.0.4" }, "devDependencies": { - "@types/aws-lambda": "^8.10.129" + "@types/aws-lambda": "^8.10.131" } }