Skip to content

Commit

Permalink
chore: prova
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrabdev committed Jun 5, 2024
1 parent 232bc63 commit d8789f8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
with:
node-version: "20.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Add pnpm store path to env var
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Cache node modules
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
Expand All @@ -42,13 +42,10 @@ jobs:
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: TRY
shell: bash
run: echo ${{ steps.generate_number.outputs.STORE_PATH }}
- name: Restore cache
- name: Restore Cache
uses: actions/cache@v4
with:
path: ${{ steps.generate_number.outputs.STORE_PATH }}
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
Expand Down

0 comments on commit d8789f8

Please sign in to comment.