Files
Titus Fortner 4910110b92 [build] optimize fetch-depth across workflows (#16966)
* [build] improve fetch-depth calculation with GitHub API

* Ensure base ref is present so PR diffing works with shallow fetches

* just need COUNT + 1 to include the tag itself in the shallow fetch
2026-01-24 12:01:56 -06:00

40 lines
804 B
YAML

name: CI - Grid UI
on:
pull_request:
paths:
- 'javascript/grid-ui/**'
push:
branches:
- trunk
paths:
- 'javascript/grid-ui/**'
workflow_dispatch:
workflow_call:
permissions:
contents: read
jobs:
grid-ui-tests:
runs-on: ubuntu-latest
name: Grid UI Component Tests
steps:
- name: Checkout source tree
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: 'javascript/grid-ui/package.json'
- name: Install dependencies
working-directory: javascript/grid-ui
run: npm install
- name: Run component tests
working-directory: javascript/grid-ui
run: npm test