commit #1
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: JS | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
node-version: 16 | |
- name: Install node modules | |
run: yarn | |
- name: Lint | |
run: make lint.js | |
- name: Validate networks | |
run: make validate-networks | |
- name: Build web app | |
run: yarn expo build:web | |
- name: Check that there is no diff | |
run: git diff --exit-code | |
- name: Check typescript unused exports | |
run: make unused-exports |