diff --git a/.github/workflows/sst.dev.yml b/.github/workflows/sst.dev.yml index 101e745..43334cd 100644 --- a/.github/workflows/sst.dev.yml +++ b/.github/workflows/sst.dev.yml @@ -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: