Skip to content

Merge pull request #589 from Hi-Windom/huge_merge #98

Merge pull request #589 from Hi-Windom/huge_merge

Merge pull request #589 from Hi-Windom/huge_merge #98

Workflow file for this run

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