Update README.md #35
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: 🌐 Web Pipeline | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
defaults: | |
run: | |
working-directory: ./apps/web | |
jobs: | |
CI: | |
runs-on: ubuntu-22.04 | |
container: | |
image: zuruh/argent-bank-web-ci:latest | |
steps: | |
## Setup | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Start API 🖥️ | |
run: pnpm run server:start && pnpm run server:seed | |
working-directory: ./ | |
- name: Install dependencies 🔧 | |
run: pnpm install --frozen-lockfile | |
## Assertions | |
- name: Run eslint 🚨 | |
run: pnpm run lint:eslint | |
- name: Run typescript 🚨 | |
run: pnpm run lint:typescript | |
- name: Run vitest 🧪 | |
run: pnpm run test:coverage | |
- name: Upload test coverage artifacts ✅ | |
uses: romeovs/lcov-reporter-action@v0.2.11 | |
if: github.event_name == 'pull_request' | |
with: | |
github-token: '${{ secrets.GH_TOKEN }}' | |
lcov-file: ./apps/web/coverage/lcov.info |