Skip to content

Add custom node type typing and expose state modification functions for custom nodes in Sankey diagrams #2458

Add custom node type typing and expose state modification functions for custom nodes in Sankey diagrams

Add custom node type typing and expose state modification functions for custom nodes in Sankey diagrams #2458

Workflow file for this run

name: CI
on:
push:
branches: ['master']
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'pnpm'
- run: pnpm install
- name: Build nivo packages
run: make pkgs-build
- run: make pkgs-lint
- run: make pkgs-test
# Make sure that we can build the website
- run: make website-build
# Make sure that we can build storybook
- run: make storybook-build
end-to-end-tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'pnpm'
- name: Cypress install
uses: cypress-io/github-action@v5
with:
runTests: false
- name: Build nivo packages
run: make pkgs-build
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install: false
component: true
command: make end-to-end-test