mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 08:26:29 +08:00
Update README.md for latest actions and pnpm@7
This commit is contained in:
parent
10b4b0b462
commit
126d09a287
12
README.md
12
README.md
|
@ -62,7 +62,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
```
|
||||
|
@ -81,7 +81,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
run_install: |
|
||||
|
@ -103,17 +103,17 @@ jobs:
|
|||
|
||||
steps:
|
||||
build:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
path: ~/.local/share/pnpm/store
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-
|
||||
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
run_install: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user