Skip to content

Commit

Permalink
tech: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chvarkov committed Sep 7, 2024
1 parent 3e99660 commit 02d2002
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install
run: npm install
- name: Test and Coverage
run: npm run test:cov

- name: Update Coverage Badge
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: we-cli/coverage-badge-action@main

0 comments on commit 02d2002

Please sign in to comment.