Skip to content

Commit

Permalink
fix(ci): install pnpm with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 26, 2024
1 parent ec8dfa1 commit c397e34
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/actions/install-cache-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,16 @@ runs:
with:
node-version: ${{ env.NODE_VERSION }}

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Install pnpm
shell: bash
run: npm install -g pnpm@8

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
Expand All @@ -58,7 +56,7 @@ runs:
id: playwright-version
run: echo 'PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.playwright' || 'latest')' >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
if: ${{ inputs.BROWSER_BINARIES }}
id: playwright-cache
with:
Expand Down

0 comments on commit c397e34

Please sign in to comment.