Skip to content

Commit

Permalink
Add codecov upload to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Dec 17, 2024
1 parent 411175a commit 08790b6
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: TESTS_USE_MOCKNET=true yarn test -- -- --coverage --coverageProvider=v8
- run: yarn lint
- run: yarn spellcheck

- name: Install dependencies
run: yarn

- name: Run tests
run: TESTS_USE_MOCKNET=true yarn test -- -- --coverage --coverageProvider=v8

- name: Run linter
run: yarn lint

- name: Run spellchecker
run: yarn spellcheck

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: CashScript/cashscript

0 comments on commit 08790b6

Please sign in to comment.