[ci] Workflow for Grid UI component tests #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: Grid UI Component Tests | |
on: | |
pull_request: | |
paths: | |
- 'javascript/grid-ui/**' | |
push: | |
branches: | |
- trunk | |
paths: | |
- 'javascript/grid-ui/**' | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
grid-ui-tests: | |
name: Grid UI Component Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source tree | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: 'javascript/grid-ui/package.json' | |
- name: Install dependencies | |
working-directory: javascript/grid-ui | |
run: npm install | |
- name: Run Jest tests | |
working-directory: javascript/grid-ui | |
run: npm test |