refactor: make history reducer reusable #329
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: CI-app/client | |
on: | |
push: | |
branches: [dev, main] | |
paths: | |
- 'apps/client/**' | |
- 'package.json' | |
- '*.lock' | |
- 'tsconfig.base.json' | |
- '.prettier*' | |
- '.github/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'apps/client/**' | |
- 'package.json' | |
- '*.lock' | |
- 'tsconfig.base.json' | |
- '.prettier*' | |
- '.github/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/client | |
strategy: | |
matrix: | |
node-version: [18.17] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 📥 Monorepo install | |
uses: ./.github/actions/pnpm-install | |
- name: Build Packages | |
working-directory: ./ | |
run: pnpm packages:build | |
- name: 🕵️ Typecheck | |
run: pnpm typecheck | |
- name: 🔬 Linter | |
run: pnpm lint | |
- name: 🧪 Unit tests | |
run: pnpm test | |
- name: 🏗 Build client | |
run: pnpm build |