Skip to content

Merge pull request #24 from yyao84/GHActionsUICompile #2

Merge pull request #24 from yyao84/GHActionsUICompile

Merge pull request #24 from yyao84/GHActionsUICompile #2

Workflow file for this run

name: UI Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
type-check:
name: UI TypeScript Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/Hydrogen'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Mock aws-custom.json
run: >
echo "{\"healthScribeServiceRole\":\"arn:aws:iam::0123456789012:role/healthScribeServiceRole\"}" > ./aws-custom.json
- name: Type Check
run: yarn run type-check