Skip to content

Commit

Permalink
build: install pnpm using pnpm github action (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Sep 29, 2024
1 parent bca7b2d commit 4765f2f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,29 @@ jobs:
- name: checkout code repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 1

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"

- name: Cache turbo build setup
uses: actions/cache@v4
with:
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- run: corepack enable
- name: install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: create and publish versions
uses: changesets/action@v1
Expand Down

0 comments on commit 4765f2f

Please sign in to comment.