Skip to content

Commit

Permalink
fix:CI: Restore cache steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Jul 10, 2024
1 parent 7d2de06 commit d6c1120
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ runs:
cache-dependency-path: './typescript/pnpm-lock.yaml'
node-version: ${{ matrix.node-version }}

# - name: Cache pnpm
# uses: actions/cache@v3
# with:
# path: ~/.pnpm-store
# key: ${{ matrix.node-version }}-pnpm-${{ hashFiles('./typescript/pnpm-lock.yaml') }}
# restore-keys: ${{ matrix.node-version }}-pnpm-
- name: Cache pnpm
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ matrix.node-version }}-pnpm-${{ hashFiles('./typescript/pnpm-lock.yaml') }}
restore-keys: ${{ matrix.node-version }}-pnpm-

# - name: Cache node_modules
# uses: actions/cache@v3
# id: cache-node-modules
# with:
# path: node_modules
# key: ${{ matrix.node-version }}-modules-${{ hashFiles('./typescript/pnpm-lock.yaml') }}
- name: Cache node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: node_modules
key: ${{ matrix.node-version }}-modules-${{ hashFiles('./typescript/pnpm-lock.yaml') }}

- name: Install Dependencies
working-directory: ./typescript
Expand Down

0 comments on commit d6c1120

Please sign in to comment.