Add persistent docked ChatGXY panel with context awareness #240
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: Client API Testing | |
| on: | |
| push: | |
| paths: | |
| - 'client-api/**' | |
| - 'client/src/api/**' | |
| - '.github/workflows/client-api-test.yaml' | |
| pull_request: | |
| paths: | |
| - 'client-api/**' | |
| - 'client/src/api/**' | |
| - '.github/workflows/client-api-test.yaml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| client-api-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Read Node.js version | |
| id: node-version | |
| run: echo "version=$(cat 'client/.node_version')" >> $GITHUB_OUTPUT | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ steps.node-version.outputs.version }} | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v5 | |
| with: | |
| package_json_file: client/package.json | |
| - name: Install client dependencies | |
| run: pnpm install --frozen-lockfile | |
| working-directory: client | |
| - name: Install client-api dependencies | |
| run: pnpm install --frozen-lockfile | |
| working-directory: client-api | |
| - name: Build client-api | |
| run: pnpm run build | |
| working-directory: client-api | |
| - name: Run client-api tests | |
| run: pnpm test | |
| working-directory: client-api |