Add initial support for canvas zooming #618
Workflow file for this run
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 | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
env: | |
node: 16.x | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js '${{ env.node }}' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '${{ env.node }}' | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
# see prepare script | |
- name: Install Dependencies and Build Library | |
run: yarn install | |
- name: TypeScript Tests | |
run: yarn test:coverage --ci | |
- name: "Codacy: Report coverage" | |
uses: codacy/codacy-coverage-reporter-action@master | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: coverage/lcov.info | |
if: (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) && (success() || failure()) | |
- name: TypeScript Formatting | |
run: yarn prettier:check | |
if: success() || failure() | |
- name: TypeScript Code Style | |
run: yarn lint | |
if: success() || failure() |