Skip to content

Commit

Permalink
Fix deploy workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru Chern Chong committed Jul 27, 2024
1 parent f18661a commit 3d30aa6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/sst.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,19 @@ jobs:
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.OS }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit 3d30aa6

Please sign in to comment.