Update README.md for latest actions and pnpm@7

This commit is contained in:
Gunther Brunner 2022-04-26 20:35:09 +09:00 committed by GitHub
parent 10b4b0b462
commit 126d09a287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: pnpm/action-setup@v2.1.0 - uses: pnpm/action-setup@v2
with: with:
version: 6.0.2 version: 6.0.2
``` ```
@ -81,7 +81,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.1.0 - uses: pnpm/action-setup@v2
with: with:
version: 6.0.2 version: 6.0.2
run_install: | run_install: |
@ -103,17 +103,17 @@ jobs:
steps: steps:
build: build:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache pnpm modules - name: Cache pnpm modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.pnpm-store path: ~/.local/share/pnpm/store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: | restore-keys: |
${{ runner.os }}- ${{ runner.os }}-
- uses: pnpm/action-setup@v2.1.0 - uses: pnpm/action-setup@v2
with: with:
version: 6.0.2 version: 6.0.2
run_install: true run_install: true