Skip to content

Bean UI - Fix Typescript error in approval check #339

Bean UI - Fix Typescript error in approval check

Bean UI - Fix Typescript error in approval check #339

Workflow file for this run

name: Continuous Integration - UI
on:
pull_request:
types: [opened, synchronize]
paths:
- 'projects/ui/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: UI Tests
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Cache Node Modules
id: node-modules-cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: yarn install --immutable
- name: Build
run: yarn workspace ui build
- name: Unit Tests
run: yarn ui:test
- name: Browser Tests
uses: cypress-io/github-action@v4
with:
start: yarn ui:start
command: yarn test:browser