mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
ci: Clear Jest cache before running tests
This commit is contained in:
@@ -38,4 +38,16 @@ jobs:
|
||||
# PBS_HOST: ${{ secrets.PBS_HOST }}
|
||||
# PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }}
|
||||
# PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }}
|
||||
run: npm test
|
||||
run: npm test
|
||||
|
||||
- name: Run tests with cache clearing # Changed step name for clarity
|
||||
env: # Add environment variables from GitHub secrets
|
||||
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
|
||||
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
|
||||
PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
|
||||
# Add other required primary variables here if needed, e.g.:
|
||||
# PBS_HOST: ${{ secrets.PBS_HOST }}
|
||||
# PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }}
|
||||
# PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }}
|
||||
# Clear Jest cache first, then run tests
|
||||
run: npm test -- --clearCache && npm test
|
||||
@@ -39,7 +39,8 @@ jobs:
|
||||
# --- End Debug Steps ---
|
||||
|
||||
- name: Run tests
|
||||
run: npm test # Important: Ensure tests pass before releasing
|
||||
# Clear Jest cache first, then run tests
|
||||
run: npm test -- --clearCache && npm test # Important: Ensure tests pass before releasing
|
||||
|
||||
# --- Add Docker Steps ---
|
||||
- name: Set up QEMU
|
||||
|
||||
Reference in New Issue
Block a user