Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: use `npm ci` instead of `npm install`

Abdullah Atta5e64e06f5260
diff --git a/.github/workflows/core.tests.yml b/.github/workflows/core.tests.yml
index 744697d66..4d3d72438 100644
--- a/.github/workflows/core.tests.yml
+++ b/.github/workflows/core.tests.yml
@@ -29,7 +29,7 @@ jobs:
- name: Prepare environment
run: |
- npm install
+ npm ci
- name: Add environment variables
run: |
echo "EMAIL=${{ secrets.USER_EMAIL }}" >> $GITHUB_ENV
diff --git a/.github/workflows/web.tests.yml b/.github/workflows/web.tests.yml
index 5633789af..344bdeb15 100644
--- a/.github/workflows/web.tests.yml
+++ b/.github/workflows/web.tests.yml
@@ -33,7 +33,7 @@ jobs:
echo "CURRENT_USER_KEY=${{ secrets.USER_KEY }}" >> $GITHUB_ENV
- name: Prepare environment
- run: npm install
+ run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
diff --git a/apps/web/playwright.config.js b/apps/web/playwright.config.js
index 78336d636..13afc915d 100644
--- a/apps/web/playwright.config.js
+++ b/apps/web/playwright.config.js
@@ -56,7 +56,6 @@ const projects = IS_CI
module.exports = {
webServer: {
command: "npm run debug",
- url: "http://localhost:3000",
port: 3000,
timeout: 60 * 1000,
reuseExistingServer: !IS_CI