Skip to content

Commit

Permalink
Merge pull request #65 from Levieber/ci/pnpm
Browse files Browse the repository at this point in the history
ci: use corepack instead pnpm action
  • Loading branch information
Levieber authored Feb 4, 2024
2 parents 65c12e1 + e327318 commit e77c4e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Pnpm Setup
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
cache: "pnpm"

- name: Get pnpm store directory
shell: bash
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Pnpm Setup
uses: pnpm/action-setup@v2
with:
version: 8
cache: "pnpm"

- name: Install deps
uses: cypress-io/github-action@v6
Expand Down

0 comments on commit e77c4e1

Please sign in to comment.