-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d188ed
commit a6793af
Showing
8 changed files
with
3,401 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Game Workflow | ||
on: | ||
workflow_call: | ||
inputs: | ||
game: | ||
required: true | ||
type: string | ||
jobs: | ||
game-build-workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Install dependencies | ||
working-directory: ./${{ inputs.game }} | ||
run: npm ci | ||
- name: Build Game | ||
working-directory: ./${{ inputs.game }} | ||
run: npm run build | ||
- name: Upload Game Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.game }} | ||
path: ./${{ inputs.game }}/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Build Games | ||
on: | ||
push: | ||
branches: [ '**' ] | ||
pull_request: | ||
branches: [ '**' ] | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
game: [bubbo-bubbo, puzzling-potions] | ||
uses: ./.github/workflows/game-workflow.yml | ||
with: | ||
game: ${{ matrix.game }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ dist-ssr | |
*.sw? | ||
public | ||
src/manifest.json | ||
.assetpack |
Oops, something went wrong.