-
-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (31 loc) · 1.01 KB
/
Codecov.yml
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
name: Codecov
on:
push:
branches:
- master
# pull_request_target:
# types: [opened, edited]
jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ github.workspace }}/go/src/github.com/Hi-Windom/Sillot
- name: Set up Node 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Node pnpm
run: npm install -g pnpm
working-directory: ${{ github.workspace }}/go/src/github.com/Hi-Windom/Sillot/app
- name: Install dependencies
run: pnpm install
working-directory: ${{ github.workspace }}/go/src/github.com/Hi-Windom/Sillot/app
- name: Run tests and collect coverage
run: pnpm run test
working-directory: ${{ github.workspace }}/go/src/github.com/Hi-Windom/Sillot/app
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3