Implement frontend for admin newsletter management #1505
This file contains hidden or 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: CI (Monorepo) | |
| on: push | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Set up Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 16 | |
| - name: Use Yarn Cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/yarn | |
| key: yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} | |
| restore-keys: yarn- | |
| - name: Yarn Install | |
| run: yarn install | |
| - name: Run Prettier | |
| run: yarn format:check | |
| - name: Run Linter | |
| run: yarn lint | |
| - name: Run TypeScript Compiler | |
| run: yarn tsc --noEmit |