Repository navigation
Bump actions/setup-node from 5 to 6 #3
Workflow file for this run
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: Submodule Checks | ||
|
Check failure on line 1 in .github/workflows/submodules.yml
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - .gitmodules | ||
| - agent/** | ||
| - games/** | ||
| - lib/providers/** | ||
| push: | ||
| branches: | ||
| - master | ||
| - main | ||
| paths: | ||
| - .gitmodules | ||
| - agent/** | ||
| - games/** | ||
| - lib/providers/** | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| verify-submodules: | ||
| name: Verify Submodules | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout with submodules | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| submodules: recursive | ||
| - name: Validate submodule state | ||
| run: git submodule status --recursive | ||
| gsa-checks: | ||
| name: GSA checks from GSM | ||
| runs-on: ubuntu-latest | ||
| if: ${{ hashFiles('agent/package.json') != '' }} | ||
| steps: | ||
| - name: Checkout with submodules | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| submodules: recursive | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.13 | ||
| - name: Install GSA dependencies | ||
| working-directory: agent | ||
| run: bun install --frozen-lockfile | ||
| - name: Run GSA lint | ||
| working-directory: agent | ||
| run: bun run lint | ||
| - name: Run GSA type check | ||
| working-directory: agent | ||
| run: bun run types | ||
| - name: Run GSA build | ||
| working-directory: agent | ||
| run: bun run build | ||