From 0c397db686d9165a5c73cd30ff952442e8ee2524 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:36:14 -0700 Subject: [PATCH 1/4] Update and rename mystery-event.yml to mystery-events.yml --- .github/workflows/{mystery-event.yml => mystery-events.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{mystery-event.yml => mystery-events.yml} (94%) diff --git a/.github/workflows/mystery-event.yml b/.github/workflows/mystery-events.yml similarity index 94% rename from .github/workflows/mystery-event.yml rename to .github/workflows/mystery-events.yml index 016ea7abdba..3e42af23f9c 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 # 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, @@ -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 From 2b8246e2f4611d7b552d3aea2ee0f54895bb29cb Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:38:33 -0700 Subject: [PATCH 2/4] Update mystery-events.yml --- .github/workflows/mystery-events.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mystery-events.yml b/.github/workflows/mystery-events.yml index 3e42af23f9c..af04d0a969f 100644 --- a/.github/workflows/mystery-events.yml +++ b/.github/workflows/mystery-events.yml @@ -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: From bc059d59a07bcd70b1462eee79495bcc86261c0e Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:39:02 -0700 Subject: [PATCH 3/4] Fix typo --- .github/workflows/mystery-events.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mystery-events.yml b/.github/workflows/mystery-events.yml index af04d0a969f..991480756db 100644 --- a/.github/workflows/mystery-events.yml +++ b/.github/workflows/mystery-events.yml @@ -1,4 +1,4 @@ -# 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: MysteryEvents From 21f519d8ad3843d1d813f451519c40749ae5d300 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:53:58 -0700 Subject: [PATCH 4/4] Update mystery-events.yml Fix debug runs --- .github/workflows/mystery-events.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mystery-events.yml b/.github/workflows/mystery-events.yml index 991480756db..66ab3dd1659 100644 --- a/.github/workflows/mystery-events.yml +++ b/.github/workflows/mystery-events.yml @@ -50,4 +50,4 @@ jobs: run: npm ci # Use 'npm ci' to install dependencies - name: tests # Step to run tests - run: npm run test${{ runner.debug == '0' &&':silent' }} # silent on default. if debug run loud + run: npm run test${{ runner.debug == '0' &&':silent' || '' }} # silent on default. if debug run loud