feat: onboarding #309
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: Unit + UI Testing | |
on: | |
pull_request: | |
jobs: | |
unit-ui-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- run: npm ci && npm ci --prefix shared && npm ci --prefix web | |
- name: Testing Shared Utils | |
if: always() | |
run: npm run test | |
- name: Testing Storybook UI | |
if: always() | |
run: | | |
npm run tailwind --prefix web | |
cd shared && npm ci | |
npm run build-storybook |