Skip to content

Commit 83b4676

Browse files
committed
update workflow
1 parent 22f8d63 commit 83b4676

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/game-workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
14-
- name: Use Node.js 18.x
15-
uses: actions/setup-node@v3
13+
uses: actions/checkout@v4
14+
- name: Use Node.js 24.x
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 24
1818
- name: Install dependencies
1919
working-directory: ./${{ inputs.game }}
2020
run: npm ci

bubbo-bubbo/src/game/systems/LevelSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ export class LevelSystem implements System {
601601
}
602602

603603
// Get the parent's bubble
604-
const parent = bubble.view.parent;
604+
const parent = bubble.view.parent!;
605605

606606
// If drop, add bubble to top of grid container
607607
if (drop) parent.addChild(parent.removeChild(bubble.view));

bubbo-bubbo/src/storage.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const storage = {
2727
* Retrieves the storage data.
2828
* @returns The storage data if it exists, undefined otherwise.
2929
*/
30-
getStorage(): StorageData {
30+
getStorage(): StorageData | undefined {
3131
const data = localStorage.getItem(STORAGE_ID);
3232

3333
return data ? JSON.parse(data) : undefined;
@@ -38,7 +38,7 @@ export const storage = {
3838
* @returns The retrieved value.
3939
*/
4040
getStorageItem<T extends keyof StorageData>(key: T): StorageData[T] {
41-
const data = this.getStorage();
41+
const data = this.getStorage()!;
4242

4343
return data[key];
4444
},
@@ -49,7 +49,7 @@ export const storage = {
4949
* @returns The set value.
5050
*/
5151
setStorageItem<T extends keyof StorageData>(key: T, value: StorageData[T]): StorageData[T] {
52-
const data = this.getStorage();
52+
const data = this.getStorage()!;
5353

5454
// Check if storage and intended item exists
5555
if (data && key in data) {

0 commit comments

Comments
 (0)