Decouple service from global state #130
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: Linting and Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
run-unit-tests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn | |
- run: yarn test | |
build: | |
name: Build JSONSchema and TypeScript | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# TODO build:web fails currently, but it'd be good to make that work when possible and then add it here. | |
- run: yarn | |
- run: yarn build:jsonschema | |
- run: yarn build:ts |