Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Option to Enable corepack #546

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
update advanced-usage.md
  • Loading branch information
beeequeue committed Oct 7, 2022
commit ba32845a5f44ba3ac4922608521925a98d9fc7c7
11 changes: 2 additions & 9 deletions docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,21 +122,14 @@ steps:

**Caching pnpm (v6.10+) dependencies:**
```yaml
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# NOTE: pnpm caching support requires pnpm version >= 6.10.0
# NOTE: pnpm caching support requires pnpm version >= 14.17

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 6.32.9
- uses: actions/setup-node@v3
with:
node-version: '14'
corepack: true
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test
Expand Down