Skip to content

feat(unit): add Unit schema #521

feat(unit): add Unit schema

feat(unit): add Unit schema #521

Workflow file for this run

name: Test
on:
push:
branches:
- main
- v2-reorg
- $default-branch
pull_request:
branches:
- main
- v2-reorg
- $default-branch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14.x
- 16.x
- 18.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn run build
- run: yarn run eslint
- run: yarn run test:ci
- name: Add coverage
uses: coverallsapp/github-action@1.1.3
env:
NODE_COVERALLS_DEBUG: 1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-docs:
if: github.ref == 'refs/heads/main'
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
branch: gh-pages
folder: docs