feat: add status modals for transaction outcomes and enhance error ha… #73
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: Static Checks | |
on: | |
push: | |
branches: | |
- main | |
- staging | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Enable Corepack | |
run: corepack enable | |
- uses: actions/cache@v3 | |
id: cache2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/yarn.lock') }}-${{ github.sha }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Install project dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn install --frozen-lockfile | |
- name: Testing | |
run: yarn tsc --noEmit && yarn lint && yarn build |