Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix GH workflow to use `npm ci` instead of `npm install`. Avoid issues with lock file.

Gildas Garciad7c761dff44d
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index bb494c08..d24589ff 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -35,7 +35,7 @@ jobs:
cache: npm
- name: πŸ“₯ Download deps
- run: npm install
+ run: npm ci
- name: πŸ”¬ Lint
uses: wearerequired/lint-action@v2
@@ -61,7 +61,7 @@ jobs:
cache: npm
- name: πŸ“₯ Download deps
- run: npm install
+ run: npm ci
- name: πŸ”Ž Test
run: make test-ci
@@ -83,7 +83,7 @@ jobs:
cache: npm
- name: πŸ“₯ Download deps
- run: npm install
+ run: npm ci
- name: πŸ”¨ Build
run: npm run build
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index d58972a4..4654af75 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -36,10 +36,10 @@ jobs:
git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}
git config --global user.email [email protected]
git config --global user.name github-actions-bot
-
+
- name: πŸ“₯ Download deps
run: make doc-install
-
+
- name: πŸ”¨ Build Registry
run: make registry-build
@@ -81,7 +81,7 @@ jobs:
git config --global user.name github-actions-bot
- name: πŸ“₯ Download deps
- run: npm install
+ run: npm ci
- name: πŸ”¨ Build
run: npm run build:demo
@@ -132,7 +132,7 @@ jobs:
uses: supabase/setup-cli@v1
- name: πŸ“₯ Download deps
- run: npm install
+ run: npm ci
- name: πŸ”¨ Build
run: npm run build