Skip to content

Commit

Permalink
Merge pull request #1 from marklovers/master
Browse files Browse the repository at this point in the history
Pull latest changes
  • Loading branch information
SpcFORK authored May 22, 2024
2 parents 8fb8a89 + 7dcc062 commit 193907f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test-kaplay

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run Checker
run: pnpm run check
- name: Run tests
run: pnpm run test
2 changes: 1 addition & 1 deletion src/kaboom.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const VERSION = "3000.1.17";
const VERSION = "3001.0.0";

import initApp from "./app";
import initGfx, { BatchRenderer, FrameBuffer, Shader, Texture } from "./gfx";
Expand Down

0 comments on commit 193907f

Please sign in to comment.