File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,20 +22,25 @@ jobs:
2222 - name : " ☁️ Checkout repository"
2323 uses : actions/checkout@v4
2424
25+ - name : " 📦 Setup pnpm"
26+ uses : pnpm/action-setup@v4
27+ with :
28+ version : " 11.6.0"
29+
2530 - name : " 📦 Setup Node.js"
2631 uses : actions/setup-node@v4
2732 with :
2833 node-version : " 24"
29- cache : " npm "
34+ cache : " pnpm "
3035
3136 - name : " 📦 Install dependencies"
32- run : npm ci
37+ run : pnpm install --frozen-lockfile
3338
3439 - name : " 🔎 Lint code"
35- run : npm run lint
40+ run : pnpm run lint
3641
3742 - name : " 📝 Checking code format"
38- run : npm run format:check
43+ run : pnpm run format:check
3944
4045 - name : " 🚀 Build the project"
41- run : npm run build
46+ run : pnpm run build
Original file line number Diff line number Diff line change @@ -21,17 +21,22 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24+ - name : Setup pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : " 11.6.0"
28+
2429 - name : Setup Node.js
2530 uses : actions/setup-node@v4
2631 with :
2732 node-version : " 24"
28- cache : " npm "
33+ cache : " pnpm "
2934
3035 - name : Install dependencies
31- run : npm ci
36+ run : pnpm install --frozen-lockfile
3237
3338 - name : Build
34- run : npm run build
39+ run : pnpm run build
3540
3641 - name : Upload artifact
3742 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments