forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 891 Bytes
/
jest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
strategy:
matrix:
node: [18]
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node}}
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