Skip to content

Commit

Permalink
ci: pnpm setup via action
Browse files Browse the repository at this point in the history
  • Loading branch information
akopachov committed Feb 22, 2024
1 parent 88741d3 commit 1256b6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/auto-pretify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
with:
node-version-file: ./.nvmrc

- name: Install pnpm
run: |
corepack enable
corepack prepare pnpm@latest --activate
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: latest
run_install: false

- name: Get pnpm store directory
shell: bash
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/create-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ jobs:
corepack enable
corepack prepare pnpm@latest --activate
- name: Install dependencies
run: |
pnpm config set node-linker hoisted --location project
pnpm install
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: latest
run_install: false

- name: Build
run: |
Expand Down

0 comments on commit 1256b6f

Please sign in to comment.