Skip to content

Commit

Permalink
ref ci{
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouria-Hjt committed Jun 27, 2024
1 parent d361025 commit e041b39
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ runs:
with:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Cache dependencies ⚡
id: cache_dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies 🔧
shell: bash
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: pnpm install
run: pnpm install --frozen-lockfile

0 comments on commit e041b39

Please sign in to comment.