From cfc9ae0882c5e58363c3ece616ff508a125d667c Mon Sep 17 00:00:00 2001 From: sgfost Date: Mon, 11 Sep 2023 16:43:02 -0700 Subject: [PATCH] chore: add workflow trigger events for solo-game branch --- .github/workflows/check-code.yml | 4 ++-- .github/workflows/docker-ci.yml | 4 ++-- client/src/views/SoloGame.vue | 2 +- server/src/rooms/sologame/commands.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-code.yml b/.github/workflows/check-code.yml index 874c6de76..c7ed6af91 100644 --- a/.github/workflows/check-code.yml +++ b/.github/workflows/check-code.yml @@ -2,9 +2,9 @@ name: Check Code Style/Lint on: push: - branches: [main] + branches: [ main, solo ] pull_request: - branches: [main] + branches: [ main, solo ] jobs: client: diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml index 50a4078de..a489a5626 100644 --- a/.github/workflows/docker-ci.yml +++ b/.github/workflows/docker-ci.yml @@ -2,9 +2,9 @@ name: Build/Test Docker Image CI on: push: - branches: [ main ] + branches: [ main, solo ] pull_request: - branches: [ main ] + branches: [ main, solo ] jobs: diff --git a/client/src/views/SoloGame.vue b/client/src/views/SoloGame.vue index 9d4a7d2f2..193c72762 100644 --- a/client/src/views/SoloGame.vue +++ b/client/src/views/SoloGame.vue @@ -87,4 +87,4 @@ export default class SoloGame extends Vue { \ No newline at end of file + diff --git a/server/src/rooms/sologame/commands.ts b/server/src/rooms/sologame/commands.ts index 06e52badd..287067c92 100644 --- a/server/src/rooms/sologame/commands.ts +++ b/server/src/rooms/sologame/commands.ts @@ -282,4 +282,4 @@ export class EndGameCmd extends Cmd<{ status: SoloGameStatus }> { await new Promise(resolve => setTimeout(resolve, 5000)); this.room.disconnect(); } -} \ No newline at end of file +}