Skip to content

Commit

Permalink
fix: pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycassara committed Nov 30, 2023
1 parent 30ca20d commit a941ba2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,23 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
cache: "npm"
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build
Expand Down

0 comments on commit a941ba2

Please sign in to comment.