summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTobias Järvelöv <tobias.jarvelov@mullvad.net>2026-04-10 17:13:54 +0200
committerTobias Järvelöv <tobias.jarvelov@mullvad.net>2026-04-23 09:35:56 +0200
commit765cf12e4512de39e1a611b3212dcb2d4ba3a266 (patch)
tree08a31f15852e0f929c278b8806e423b68d636522
parent002a33da79b1e10f0b595349d6d3d3ce55590aa6 (diff)
downloadmullvadvpn-765cf12e4512de39e1a611b3212dcb2d4ba3a266.tar.xz
mullvadvpn-765cf12e4512de39e1a611b3212dcb2d4ba3a266.zip
Update usage of 'npm ci' and `npm install` to 'npm run` counterparts
-rw-r--r--.github/workflows/frontend.yml2
-rw-r--r--.github/workflows/translations.yml2
-rw-r--r--BuildInstructions.md2
-rwxr-xr-xbuild.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index c6bd51e2f8..f0d5c23d39 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
working-directory: desktop
shell: bash
- run: npm ci
+ run: npm run ci
- name: Check formatting
if: matrix.os == 'ubuntu-latest'
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml
index ee5eafb27a..0aa99fcdab 100644
--- a/.github/workflows/translations.yml
+++ b/.github/workflows/translations.yml
@@ -30,7 +30,7 @@ jobs:
- name: Install JS dependencies
working-directory: desktop
shell: bash
- run: npm ci
+ run: npm run ci
- name: Verify translations
shell: bash
diff --git a/BuildInstructions.md b/BuildInstructions.md
index 9bf2f2eda9..18eba2977c 100644
--- a/BuildInstructions.md
+++ b/BuildInstructions.md
@@ -329,7 +329,7 @@ This section is for building the desktop app individually.
1. Install all the JavaScript dependencies by running:
```bash
- npm install -w mullvad-vpn
+ npm run install
```
1. Start the Electron app in development mode by running:
diff --git a/build.sh b/build.sh
index b83995acbb..955bb2e6e4 100755
--- a/build.sh
+++ b/build.sh
@@ -462,7 +462,7 @@ if [[ "$DAEMON_ONLY" == "false" ]]; then
log_header "Installing JavaScript dependencies"
pushd desktop
- npm ci --no-audit --no-fund
+ npm run ci
pushd packages/mullvad-vpn