Skip to content

Commit c382b9e

Browse files
committed
ci: add package install sanity check to build-and-test
1 parent 93b701f commit c382b9e

2 files changed

Lines changed: 6 additions & 22 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
- name: Pack tarball
5151
if: matrix.node-version == '20.x'
5252
run: npm pack
53+
- name: Install from tarball
54+
if: matrix.node-version == '20.x'
55+
run: npm install -g aws-agentcore-*.tgz
56+
- name: Verify packaged CLI runs
57+
if: matrix.node-version == '20.x'
58+
run: agentcore --version
5359
- name: Upload tarball artifact
5460
if: matrix.node-version == '20.x'
5561
uses: actions/upload-artifact@v7

.github/workflows/package-test.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)