Skip to content

Commit

Permalink
Move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Feb 14, 2024
1 parent e61b351 commit c9d64eb
Show file tree
Hide file tree
Showing 4 changed files with 6,159 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/SST - Development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,21 @@ jobs:
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Deploy app
run: |
bun install && bun sst deploy --stage dev
pnpm install && pnpm sst deploy --stage dev
13 changes: 11 additions & 2 deletions .github/workflows/SST - Production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,21 @@ jobs:
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Deploy app
run: |
bun install && bun sst deploy --stage prod
pnpm install && pnpm sst deploy --stage prod
Binary file removed bun.lockb
Binary file not shown.
Loading

0 comments on commit c9d64eb

Please sign in to comment.