@@ -29,22 +29,13 @@ jobs:
2929 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030 with :
3131 persist-credentials : false
32+ fetch-depth : 1
3233
33- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
34- name : Install pnpm
35- with :
36- run_install : |
37- - recursive: true
38- args: [--no-frozen-lockfile]
39- - args: [--global, aws-cdk, esbuild]
34+ - name : Install pnpm
35+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
4036
41- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
42- name : Install pnpm
43- with :
44- run_install : |
45- - recursive: true
46- args: [--no-frozen-lockfile]
47- - args: [--global, esbuild]
37+ - name : Install global dependencies
38+ run : pnpm add -g aws-cdk esbuild
4839
4940 - name : build
5041 run : pnpm build
@@ -83,25 +74,24 @@ jobs:
8374
8475 runs-on : ubuntu-latest
8576 steps :
77+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
78+ with :
79+ persist-credentials : false
80+ fetch-depth : 1
81+
82+ - name : Install pnpm
83+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
84+
85+ - name : Install global dependencies
86+ run : pnpm add -g aws-cdk esbuild
87+
8688 - name : Configure AWS Credentials
8789 uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
8890 with :
8991 role-to-assume : ${{ env.OIDC_IAM_ROLE_ARN }}
9092 role-session-name : GitHubActions
9193 aws-region : ${{ env.AWS_REGION }}
9294
93- - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
94- with :
95- persist-credentials : false
96-
97- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
98- name : Install pnpm
99- with :
100- run_install : |
101- - recursive: true
102- args: [--no-frozen-lockfile]
103- - args: [--global, aws-cdk, esbuild]
104-
10595 - name : deploy
10696 working-directory : rag/cdk
10797 run : |
@@ -125,24 +115,17 @@ jobs:
125115
126116 runs-on : ubuntu-latest
127117 steps :
128- - name : Configure AWS Credentials
129- uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
130- with :
131- role-to-assume : ${{ env.OIDC_IAM_ROLE_ARN }}
132- role-session-name : GitHubActions
133- aws-region : ${{ env.AWS_REGION }}
134-
135118 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
136119 with :
137120 persist-credentials : false
121+ fetch-depth : 1
122+
123+ - name : Install pnpm
124+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
125+
126+ - name : Install global dependencies
127+ run : pnpm add -g aws-cdk esbuild
138128
139- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
140- name : Install pnpm
141- with :
142- run_install : |
143- - recursive: true
144- args: [--no-frozen-lockfile]
145- - args: [--global, aws-cdk, esbuild]
146129
147130 - name : Build (common)
148131 run : |
@@ -156,8 +139,15 @@ jobs:
156139 pnpm why @llm-ts-example/common-backend-core
157140 pnpm why @llm-ts-example/common-backend-langchain
158141
142+ - name : Configure AWS Credentials
143+ uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
144+ with :
145+ role-to-assume : ${{ env.OIDC_IAM_ROLE_ARN }}
146+ role-session-name : GitHubActions
147+ aws-region : ${{ env.AWS_REGION }}
148+
159149 - name : deploy
160- working-directory : agents/agent-ai-sdk
150+ working-directory : agents/aws-lambda/ agent-ai-sdk
161151 run : |
162152 pnx aws-cdk@latest deploy \
163153 --require-approval=never
@@ -170,24 +160,16 @@ jobs:
170160
171161 runs-on : ubuntu-latest
172162 steps :
173- - name : Configure AWS Credentials
174- uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
175- with :
176- role-to-assume : ${{ env.OIDC_IAM_ROLE_ARN }}
177- role-session-name : GitHubActions
178- aws-region : ${{ env.AWS_REGION }}
179-
180163 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
181164 with :
182165 persist-credentials : false
166+ fetch-depth : 1
183167
184- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
185- name : Install pnpm
186- with :
187- run_install : |
188- - recursive: true
189- args: [--no-frozen-lockfile]
190- - args: [--global, aws-cdk, esbuild]
168+ - name : Install pnpm
169+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
170+
171+ - name : Install global dependencies
172+ run : pnpm add -g aws-cdk esbuild
191173
192174 - name : Build (common)
193175 run : |
@@ -201,8 +183,15 @@ jobs:
201183 pnpm why @llm-ts-example/common-backend-core
202184 pnpm why @llm-ts-example/common-backend-langchain
203185
186+ - name : Configure AWS Credentials
187+ uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
188+ with :
189+ role-to-assume : ${{ env.OIDC_IAM_ROLE_ARN }}
190+ role-session-name : GitHubActions
191+ aws-region : ${{ env.AWS_REGION }}
192+
204193 - name : deploy
205- working-directory : agents/agent-strands
194+ working-directory : agents/aws-lambda/ agent-strands
206195 run : |
207196 pnx aws-cdk@latest deploy \
208197 --require-approval=never
0 commit comments