Refactor typescript code (#1806)

Co-authored-by: Eric Butler <eric@codebutler.com>
This commit is contained in:
Wojciech Lewicki
2022-07-22 17:41:30 +02:00
committed by GitHub
parent a7a31ca806
commit 286c02fac4
44 changed files with 3511 additions and 3721 deletions

35
.github/workflows/js-build-test.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Test JS build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: js-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install node dependencies
run: yarn
- name: Build
run: yarn bob
- name: Lint
run: yarn lint
- name: Tests
run: yarn jest
- name: Build Example App
working-directory: Example/
run: yarn && yarn tsc