Merge pull request #101 from AsdarDevelops/ci/patch-01
Update and rename mystery-event.yml to mystery-events.yml
This commit is contained in:
commit
ec49cd0f4a
|
@ -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
|
Loading…
Reference in New Issue