feat: basic godot-cef integration (#18)
#35
This file contains hidden or 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
| name: Unit Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| unittest: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| env: | |
| MISE_EXEC_AUTO_INSTALL: "false" | |
| MISE_NOT_FOUND_AUTO_INSTALL: "false" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Node | |
| uses: jdx/mise-action@v3 | |
| with: | |
| install: true | |
| install_args: node | |
| cache: true | |
| - name: Enable Corepack | |
| run: mise x -- corepack enable pnpm | |
| - name: Get pnpm store path | |
| id: pnpm-store | |
| run: echo "path=$(mise x -- corepack pnpm store path --silent)" >> "$GITHUB_OUTPUT" | |
| - name: Cache pnpm store | |
| uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.pnpm-store.outputs.path }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - name: Install pnpm dependencies | |
| run: mise x -- corepack pnpm install --frozen-lockfile | |
| - name: Run unit tests | |
| run: mise run test:unit |