Skip to content

Commit

Permalink
Add vitest to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Aug 8, 2024
1 parent a86a02b commit 96bc83f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test
on:
pull_request:
paths:
- 'src/**'
- '.github/workflows/test.yml'
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:

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 96bc83f

Please sign in to comment.