Merge pull request #596 from Hi-Windom/huge_merge #102
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: 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 |