feat: use geometry to avoid reference reset #1738
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Setup | |
run: yarn setup | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Setup | |
run: yarn setup | |
- name: Install doc dependencies | |
run: | | |
yarn --cwd doc install && \ | |
yarn --cwd doc install-mjs | |
- name: Lint | |
run: yarn --cwd doc ci | |
- name: Build API reference | |
run: | | |
yarn --cwd doc build-api && \ | |
yarn --cwd doc clear-api | |
- name: Build doc website | |
run: yarn --cwd doc build |