feat(react): add API to provide hover callback functions for prov vis… #82
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
name: Build -> Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
- next | |
- alpha | |
- beta | |
- '*.x*' | |
pull_request: | |
branches: | |
- main | |
- next | |
- alpha | |
- beta | |
- '*.x*' | |
jobs: | |
build-test: | |
name: Build -> Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Track main | |
run: git branch --track main origin/main || echo "Already done" | |
- name: Setup LTS Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
cache: 'yarn' | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Cache yarn dependencies | |
uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: | | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
**\node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn install | |
- name: Build | |
run: | | |
RUN=CI yarn nx affected --target=lint | |
RUN=CI yarn run build-affected-libs | |
- name: Test | |
run: | | |
RUN=CI yarn nx affected --target=test --parallel 5 |