Files
galaxy/.github/workflows/jest.yaml
T
dependabot[bot] 46d3e6956c Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 17:29:24 +00:00

38 lines
1.0 KiB
YAML

name: Client Unit Testing
on:
push:
paths:
- 'client/**'
- '.github/workflows/jest.yaml'
pull_request:
paths:
- 'client/**'
- '.github/workflows/jest.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
client-unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
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@v5
with:
node-version: ${{ steps.node-version.outputs.version }}
cache: 'yarn'
cache-dependency-path: 'client/yarn.lock'
- run: yarn install --frozen-lockfile
working-directory: client
- name: Stage client libs (Gulp)
run: yarn run gulp client
working-directory: client
- name: Run Unit Tests
run: yarn jest
working-directory: client