Skip to content

Commit

Permalink
Install pnpm in CI via pnpm-action (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Apr 16, 2024
1 parent 386daa6 commit 4b77df3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-parse-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 'lts/*'
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- run: pnpm install
- run: pnpm build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 'lts/*'
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install
run: pnpm install
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 'lts/*'
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- run: pnpm install
- name: Check for missing changesets
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: 'lts/*'

- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- name: Get pnpm cache info
id: pnpm-cache
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 'lts/*'
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- run: pnpm install --frozen-lockfile
- run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-ts-version-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 'lts/*'
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- name: Get pnpm cache info
id: pnpm-cache
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: npm install -g pnpm
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- run: pnpm install
- run: pnpm build
Expand Down

0 comments on commit 4b77df3

Please sign in to comment.