Skip to content

Commit 3cca63a

Browse files
Fix: Align pnpm versions to v8 in CI/CD workflows, resolve secrets context errors in deploy pipeline, and add MIT license.
1 parent 361ab31 commit 3cca63a

3 files changed

Lines changed: 29 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup pnpm
2626
uses: pnpm/action-setup@v4
2727
with:
28-
version: 10.6.1
28+
version: 8.15.5
2929

3030
- name: Setup Node
3131
uses: actions/setup-node@v4

.github/workflows/deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup pnpm
4747
uses: pnpm/action-setup@v4
4848
with:
49-
version: 10.6.1
49+
version: 8.15.5
5050

5151
- name: Setup Node
5252
uses: actions/setup-node@v4
@@ -67,14 +67,18 @@ jobs:
6767
run: pnpm --filter backend build
6868

6969
- name: Configure AWS credentials with OIDC
70-
if: ${{ secrets.AWS_ROLE_TO_ASSUME != '' }}
70+
if: ${{ env.HAS_AWS_ROLE == 'true' }}
71+
env:
72+
HAS_AWS_ROLE: ${{ secrets.AWS_ROLE_TO_ASSUME != '' }}
7173
uses: aws-actions/configure-aws-credentials@v4
7274
with:
7375
aws-region: ${{ env.AWS_REGION }}
7476
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
7577

7678
- name: Configure AWS credentials with access keys
77-
if: ${{ secrets.AWS_ROLE_TO_ASSUME == '' }}
79+
if: ${{ env.HAS_AWS_ROLE != 'true' }}
80+
env:
81+
HAS_AWS_ROLE: ${{ secrets.AWS_ROLE_TO_ASSUME != '' }}
7882
uses: aws-actions/configure-aws-credentials@v4
7983
with:
8084
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Arun Kushwaha
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)