Skip to content

Commit

Permalink
test: codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Exotica0122 committed Apr 6, 2024
1 parent 61bd527 commit 120b3b2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
name: Code Coverage Summary
name: test
on: pull_request
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: irongut/CodeCoverageSummary@v1.3.0
# Checkout the Repo
- uses: actions/checkout@v2

# Install Node 18
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 18

# Install dependencies
- run: npm ci

# Run tests
- run: npm run test:coverage

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Exotica0122/Typefast
20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 120b3b2

Please sign in to comment.