Extend onZoom and onPan callbacks for syncing multiple charts #612
Workflow file for this run
  
    
      This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| ci: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: install | |
| run: npm ci | |
| - name: lint | |
| run: npm run lint | |
| - name: typecheck | |
| run: npm run typecheck | |
| - name: build | |
| run: npm run build | |
| - name: test | |
| run: | | |
| if [ "${{ runner.os }}" == "Windows" ]; then | |
| npm test | |
| else | |
| xvfb-run --auto-servernum npm test | |
| fi | |
| shell: bash | |
| - name: Coveralls Paraller - Unit | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.github_token }} | |
| file: './coverage/unit/lcov.info' | |
| flag-name: unit | |
| parallel: true | |
| - name: Coveralls Parallel - Chrome | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.github_token }} | |
| file: './coverage/chrome/lcov.info' | |
| flag-name: ${{ matrix.os }}-chrome | |
| parallel: true | |
| - name: Coveralls Parallel - Firefox | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.github_token }} | |
| file: './coverage/firefox/lcov.info' | |
| flag-name: ${{ matrix.os }}-firefox | |
| parallel: true | |
| finish: | |
| needs: ci | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Coveralls Finished | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.github_token }} | |
| parallel-finished: true |