Files
dependabot[bot] d9ec504c6b Bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-node` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v7.0.0...v7.1.0)

Updates `github/codeql-action` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.38.2...v4.38.3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-15 17:56:16 +00:00

59 lines
1.8 KiB
YAML

name: Client API Testing
on:
push:
paths:
- 'client/packages/api-client/**'
- 'client/pnpm-workspace.yaml'
- 'client/.node_version'
- 'client/.npmrc'
- 'client/package.json'
- 'client/pnpm-lock.yaml'
- 'client/src/api/**'
- '.github/workflows/client-api-test.yaml'
pull_request:
paths:
- 'client/packages/api-client/**'
- 'client/pnpm-workspace.yaml'
- 'client/.node_version'
- 'client/.npmrc'
- 'client/package.json'
- 'client/pnpm-lock.yaml'
- 'client/src/api/**'
- '.github/workflows/client-api-test.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
client-api-test:
if: >-
github.event_name != 'push'
|| github.repository_owner != 'galaxyproject'
|| github.ref_name == 'dev'
|| startsWith(github.ref_name, 'release_')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
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@v7.1.0
with:
node-version: ${{ steps.node-version.outputs.version }}
- name: Setup pnpm
uses: pnpm/action-setup@v6
with:
package_json_file: client/package.json
- name: Install workspace dependencies
run: pnpm install --frozen-lockfile
working-directory: client
- name: Build client-api
run: pnpm --filter @galaxyproject/galaxy-api-client run build
working-directory: client
- name: Run client-api tests
run: pnpm --filter @galaxyproject/galaxy-api-client test
working-directory: client