Skip to content

Commit

Permalink
switch caching/install strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Aug 19, 2023
1 parent 4eddb13 commit d4b46e7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,20 @@ jobs:
git_config_global: true
git_commit_gpgsign: true

- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
run_install: false
# standalone: true

- name: Install Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
run_install: true

# - name: Get pnpm store directory
# id: pnpm-cache
# shell: bash
Expand All @@ -57,8 +58,8 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-pnpm-store-

# - name: Install dependencies
# run: pnpm install
- name: Install dependencies
run: pnpm install

# Linting & Formatting
- name: Lint workspace
Expand Down

0 comments on commit d4b46e7

Please sign in to comment.