-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (32 loc) · 1.02 KB
/
Copy pathci.yaml
File metadata and controls
43 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Copy .env.example files
shell: bash
run: find . -type f -name ".env.example" -exec sh -c 'cp "$1" "${1%.*}"' _ {} \;
- name: Typecheck
run: pnpm typecheck
- name: Lint
run: pnpm lint
- name: Check dependencies
run: pnpm check:deps
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run tests
run: pnpm run test:coverage-report
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: joaoc-dev/blueledger
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}