diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 1be990b60..cf987dc4d 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -36,9 +36,5 @@ jobs: # PBS_HOST: ${{ secrets.PBS_HOST }} # PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }} # PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }} - # Print file right before test, clear cache, then run tests - run: | - echo "--- Content before test --- " - cat server/tests/config.test.js - echo "--- End content --- " - npm test -- --clearCache && npm test \ No newline at end of file + # Simplified test command + run: npm test \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7eb888a35..e397d9f89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,24 +26,9 @@ jobs: - name: Clean install dependencies run: rm -rf node_modules && npm ci - # --- Add Debug Steps --- - - name: List test files - run: ls -la server/tests/ - - - name: Show config test content - run: cat server/tests/config.test.js - - - name: Show current commit hash - run: git rev-parse HEAD - # --- End Debug Steps --- - - name: Run tests - # Print file right before test, clear cache, then run tests - run: | - echo "--- Content before test --- " - cat server/tests/config.test.js - echo "--- End content --- " - npm test -- --clearCache && npm test # Important: Ensure tests pass before releasing + # Simplified test command + run: npm test # Important: Ensure tests pass before releasing # --- Add Docker Steps --- - name: Set up QEMU