Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 415cb69

Browse files
committed
Changed package manager to pnpm for increased speed and decreased size
1 parent e24cf27 commit 415cb69

File tree

6 files changed

+9124
-10
lines changed

6 files changed

+9124
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ on:
77
- .github/ISSUE_TEMPLATE/**
88
- README.md
99
- LICENSE
10-
branches:
11-
- main
12-
- release
13-
pull_request:
14-
branches:
15-
- main
10+
branches: [main]
1611

1712
permissions:
1813
contents: read
@@ -31,7 +26,7 @@ jobs:
3126
node-version: "18"
3227

3328
- name: Install Dependencies
34-
run: npm install
29+
run: pnpm install
3530

3631
- name: Run TypeScript Check
3732
run: npx tsc --noEmit

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/setup-node@v4
3838
with:
3939
node-version: lts/*
40-
cache: "npm"
40+
cache: "pnpm"
4141

4242
- name: install Rust stable
4343
uses: dtolnay/rust-toolchain@stable
@@ -50,7 +50,7 @@ jobs:
5050
workspaces: "./src-tauri -> target"
5151

5252
- name: install frontend dependencies
53-
run: npm install
53+
run: pnpm install
5454

5555
- uses: tauri-apps/tauri-action@v0
5656
env:

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"prepare": "husky",
1212
"test": "vitest",
1313
"coverage": "vitest run --coverage",
14-
"test:watch": "vitest --watch"
14+
"test:watch": "vitest --watch",
15+
"preinstall": "npx only-allow pnpm"
1516
},
1617
"husky": {
1718
"hooks": {

0 commit comments

Comments
 (0)