feat(core): add rowHighlightCssClass
& highlightRow()
to SlickGrid
#3306
Workflow file for this run
This file contains 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
# CI Build & Jest Unit Tests (ship smaller name for CI badge) | |
name: Build & Tests | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch on Push and any branches on PR | |
push: | |
branches: | |
- master | |
- next | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [20] | |
platform: | |
- ubuntu-latest | |
name: '${{matrix.platform}} / Node ${{ matrix.node }}' | |
runs-on: ${{matrix.platform}} | |
if: ${{ !startsWith(github.event.head_commit.message, 'docs:') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 # codecov-bash seems to require this | |
- name: Set NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
run_install: false | |
- run: node --version | |
- run: pnpm --version | |
- name: Get pnpm store directory | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
- name: Setup pnpm cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Run pnpm install dependencies | |
run: pnpm install | |
- name: Cache TypeScript and Jest | |
uses: actions/cache@v3 | |
with: | |
path: | | |
packages/*/lib | |
packages/*/tsconfig.tsbuildinfo | |
test/.jest-cache | |
key: ts-jest-${{ matrix.platform }}-${{ matrix.node }}-${{ github.run_id }} | |
restore-keys: ts-jest-${{ matrix.platform }}-${{ matrix.node }}- | |
- name: TSC Full Bundle (all Bundler types) | |
run: pnpm bundle | |
- name: Run Jest unit tests | |
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }} | |
run: pnpm test:ci | |
- name: Upload Jest coverage to Codecov | |
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }} | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: test/jest-coverage | |
verbose: true |