diff --git a/.github/workflows/mystery-event.yml b/.github/workflows/mystery-events.yml similarity index 81% rename from .github/workflows/mystery-event.yml rename to .github/workflows/mystery-events.yml index 016ea7abdba..66ab3dd1659 100644 --- a/.github/workflows/mystery-event.yml +++ b/.github/workflows/mystery-events.yml @@ -1,7 +1,7 @@ -# These are workflows use exclusively for the mystery events sub-project +# These are workflows used exclusively for the mystery events sub-project # It's basically a copy of eslint.yml & test.yml just aimed at a different branch -name: Mystery Events workflows +name: MysteryEvents on: # Trigger the workflow on push or pull request, @@ -14,8 +14,8 @@ on: - mystery-battle-events # Trigger on pull request events targeting the mystery-battle-events branch jobs: - run-linters: # Define a job named "run-linters" - name: Run linters # Human-readable name for the job + lint: # Define a job named "run-linters" + name: Lint # Human-readable name for the job runs-on: ubuntu-latest # Specify the latest Ubuntu runner for the job steps: @@ -33,8 +33,8 @@ jobs: - name: eslint # Step to run linters run: npm run eslint-ci - run-tests: # Define a job named "run-tests" - name: Run tests # Human-readable name for the job + test: # Define a job named "run-tests" + name: Test # Human-readable name for the job runs-on: ubuntu-latest # Specify the latest Ubuntu runner for the job steps: @@ -50,4 +50,4 @@ jobs: run: npm ci # Use 'npm ci' to install dependencies - name: tests # Step to run tests - run: npm run test:silent + run: npm run test${{ runner.debug == '0' &&':silent' || '' }} # silent on default. if debug run loud