Skip to content

feat: Implement showDatumInTooltip in TooltipOptions to allow hiding … #307

feat: Implement showDatumInTooltip in TooltipOptions to allow hiding …

feat: Implement showDatumInTooltip in TooltipOptions to allow hiding … #307

Workflow file for this run

name: react-charts tests
on:
push:
branches:
- 'main'
- 'beta'
pull_request:
jobs:
test:
name: 'Node ${{ matrix.node }}'
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- run: yarn test:ci
publish-module:
name: 'Publish Module to NPM'
# needs: test
# publish only when merged in master on original repo, not on PR
if: github.repository == 'tanstack/react-charts' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Install dependencies
uses: bahmutov/npm-install@v1
- run: yarn build
- run: npx semantic-release@17
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GH_TOKEN: ${{secrets.GH_TOKEN}}