diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8bebb63a1e4..3f3492e80c8 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 887ebba69ee..8c7942b7266 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