This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 82595df6f9 chore(ci): use npm/yarn lock files where possible (#32527)
82595df6f9 is described below
commit 82595df6f92f8fc51cd8ef1a200f63f8757d31b8
Author: Ville Brofeldt <[email protected]>
AuthorDate: Thu Mar 6 06:47:48 2025 -0800
chore(ci): use npm/yarn lock files where possible (#32527)
---
.github/workflows/pre-commit.yml | 6 +++---
.github/workflows/tech-debt.yml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 8bebb63a1e..3f3492e80c 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -46,12 +46,12 @@ jobs:
- name: Install Frontend Dependencies
run: |
cd superset-frontend
- npm install
+ npm ci
- name: Install Docs Dependencies
run: |
cd docs
- yarn install
+ yarn install --immutable
- name: pre-commit
run: |
@@ -66,7 +66,7 @@ jobs:
if [ "${PRE_COMMIT_EXIT_CODE}" -ne 0 ]; then
echo "❌ Pre-commit check failed (exit code: ${EXIT_CODE})."
else
- echo "❌ Git working directory is dirty after running pre-commit."
+ echo "❌ Git working directory is dirty."
echo "📌 This likely means that pre-commit made changes that were
not committed."
echo "🔍 Modified files:"
git diff --name-only
diff --git a/.github/workflows/tech-debt.yml b/.github/workflows/tech-debt.yml
index 887ebba69e..8c7942b726 100644
--- a/.github/workflows/tech-debt.yml
+++ b/.github/workflows/tech-debt.yml
@@ -35,7 +35,7 @@ jobs:
node-version-file: './superset-frontend/.nvmrc'
- name: Install Dependencies
- run: npm install
+ run: npm ci
working-directory: ./superset-frontend
- name: Run Script