feature(viewer.js): Polygon/Point/Ellipse/Rectangle 2D and 3D bulk annotations support #176
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
# This workflow will install JavaScript dependencies, run tests and lint. | |
name: unit tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build and run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["14.x", "16.x"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Build package in production mode | |
run: yarn build | |
- name: Lint with standard | |
run: yarn lint | |
- name: Test with jest | |
run: yarn test |