feat/OMHD-404: Social card update #207
Workflow file for this run
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: Continuous Integration | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize] | |
jobs: | |
lint-typecheck-unit-test-build-docs: | |
name: Lint, Typecheck, Unit Test, Build Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/iron' | |
- name: Enable JS corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: yarn install | |
- name: Build repo | |
run: yarn build | |
- name: Lint files | |
run: yarn lint | |
- name: Typecheck files | |
run: yarn typecheck | |
- name: Run unit tests | |
run: yarn test | |
- name: Build docs | |
run: yarn workspace docs build |