Skip to content

Commit ff5ce97

Browse files
committed
chore: npm -> pnpm
1 parent 4cf1097 commit ff5ce97

File tree

4 files changed

+4098
-9220
lines changed

4 files changed

+4098
-9220
lines changed

.github/workflows/pull_request.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,22 @@ jobs:
1616
with:
1717
show-progress: false
1818

19+
- name: 📦 Setup PNPM
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: latest
23+
1924
- name: ⎔ Setup Node.js
2025
uses: actions/setup-node@v4
2126
with:
2227
node-version: lts/*
23-
cache: npm
28+
cache: pnpm
2429

2530
- name: 📥 Download dependencies
26-
run: npm ci
31+
run: pnpm install
2732

2833
- name: 🧵 Lint
29-
run: npm run lint
34+
run: pnpm run lint
3035

3136
test-unit:
3237
name: Unit tests
@@ -37,17 +42,22 @@ jobs:
3742
with:
3843
show-progress: false
3944

45+
- name: 📦 Setup PNPM
46+
uses: pnpm/action-setup@v4
47+
with:
48+
version: latest
49+
4050
- name: ⎔ Setup Node.js
4151
uses: actions/setup-node@v4
4252
with:
4353
node-version: lts/*
44-
cache: npm
54+
cache: pnpm
4555

4656
- name: 📥 Download dependencies
47-
run: npm ci
57+
run: pnpm install
4858

4959
- name: 🧪 Run tests
50-
run: npm test
60+
run: pnpm test
5161

5262
build:
5363
name: Commit Release Assets
@@ -70,14 +80,19 @@ jobs:
7080
ref: ${{ github.head_ref }}
7181
token: ${{ steps.generate_token.outputs.token }}
7282

83+
- name: 📦 Setup PNPM
84+
uses: pnpm/action-setup@v4
85+
with:
86+
version: latest
87+
7388
- name: ⎔ Setup Node.js
7489
uses: actions/setup-node@v4
7590
with:
7691
node-version: lts/*
77-
cache: npm
92+
cache: pnpm
7893

7994
- name: 📥 Download dependencies
80-
run: npm ci
95+
run: pnpm install
8196

8297
- name: 🏗️ Commit and push if needed
8398
run: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy