Skip to content

Commit a644916

Browse files
committed
Use npm ci in CI
1 parent 636749f commit a644916

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- name: Test kotlin/hello-world-lambda-cdk
9898
if: github.event.inputs.cdkVersion != '' || github.event.inputs.sdkJavaVersion != ''
9999
run: |
100-
npm --prefix kotlin/hello-world-lambda-cdk install
100+
npm --prefix kotlin/hello-world-lambda-cdk clean-install
101101
npm --prefix kotlin/hello-world-lambda-cdk run verify
102102
103103
- name: Create Pull Request

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,9 @@ jobs:
4545
with:
4646
arguments: check
4747
build-root-directory: kotlin/hello-world-lambda
48-
49-
# CDK projects are a hybrid of TypeScript CDK stack + platform-specific handler code; the top-level npm CDK build
50-
# is responsible for verifying the language-specific handler code. They are also not a part of the TypeScript
51-
# examples workspace, so we test them separately here.
5248
- name: Test kotlin/hello-world-lambda-cdk
5349
run: |
54-
npm --prefix kotlin/hello-world-lambda-cdk install
50+
npm --prefix kotlin/hello-world-lambda-cdk clean-install
5551
npm --prefix kotlin/hello-world-lambda-cdk run verify
5652
5753
build-ts:

0 commit comments

Comments
 (0)