Upgrade pnpm action version

This commit is contained in:
the1812 2024-07-18 22:55:38 +08:00
parent 1480c3b8fc
commit f1ed668412
4 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@
}, },
{ {
"name": "Install dependencies", "name": "Install dependencies",
"uses": "pnpm/action-setup@v2.2.4", "uses": "pnpm/action-setup@v4",
"with": { "with": {
"version": "8.12.1", "version": "8.12.1",
"run_install": true "run_install": true

View File

@ -8,14 +8,14 @@
"runs-on": "ubuntu-latest", "runs-on": "ubuntu-latest",
"steps": [ "steps": [
{ {
"uses": "actions/checkout@v2", "uses": "actions/checkout@v3",
"with": { "with": {
"ref": "${{ github.event.pull_request.head.sha }}" "ref": "${{ github.event.pull_request.head.sha }}"
} }
}, },
{ {
"name": "Install dependencies", "name": "Install dependencies",
"uses": "pnpm/action-setup@v2.2.4", "uses": "pnpm/action-setup@v4",
"with": { "with": {
"version": "8.12.1", "version": "8.12.1",
"run_install": true "run_install": true

View File

@ -20,7 +20,7 @@ jobs:
git config --global core.autocrlf true git config --global core.autocrlf true
git config --global core.safecrlf false git config --global core.safecrlf false
- name: Install dependencies - name: Install dependencies
uses: pnpm/action-setup@v2.2.4 uses: pnpm/action-setup@v4
with: with:
version: 8.12.1 version: 8.12.1
run_install: true run_install: true

View File

@ -5,11 +5,11 @@ jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Install dependencies - name: Install dependencies
uses: pnpm/action-setup@v2.2.4 uses: pnpm/action-setup@v4
with: with:
version: 8.12.1 version: 8.12.1
run_install: true run_install: true