Skip to content

[ci] Workflow for Grid UI component tests #3

[ci] Workflow for Grid UI component tests

[ci] Workflow for Grid UI component tests #3

Workflow file for this run

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