mirror of
https://github.com/SeleniumHQ/selenium.git
synced 2026-03-26 16:18:38 +00:00
* [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
40 lines
804 B
YAML
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
|