Skip to content

Commit

Permalink
add new test workflow
Browse files Browse the repository at this point in the history
run npx vitest src/components on PRs
  • Loading branch information
jazzsequence committed Aug 8, 2024
1 parent 1a8a51f commit 213eb4a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test
on:
pull_request:
paths:
- 'src/**'
- '.github/workflows/test.yml'
types:
- opened
- synchronize
- reopened
- ready_for_review

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm install
- run: npx vitest src/components

0 comments on commit 213eb4a

Please sign in to comment.