Refactor GitHub Actions workflow to remove duplicate pnpm setup step for cleaner configuration
This commit is contained in:
parent
b1844d7017
commit
3270069324
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@ -21,17 +21,17 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.15.0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.15.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user