From c7035629a3ef101e52b90da28cf0639267f30e26 Mon Sep 17 00:00:00 2001 From: Eli <78963198+niceEli@users.noreply.github.com> Date: Tue, 21 May 2024 20:40:15 -0400 Subject: [PATCH 1/2] feat: add github actions testing --- .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..7095d626 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 From 84af2be7b82d52a9a1b386512650c2824f916845 Mon Sep 17 00:00:00 2001 From: Eli <78963198+niceEli@users.noreply.github.com> Date: Tue, 21 May 2024 21:32:20 -0400 Subject: [PATCH 2/2] change: version update the version from v3000.1.17 to v3001.0.0 to be more accurate for the end user --- src/kaboom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kaboom.ts b/src/kaboom.ts index 1533bb1e..43e89cd8 100644 --- a/src/kaboom.ts +++ b/src/kaboom.ts @@ -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";