Skip to content

Commit

Permalink
Config: #269 vitest github actions workflow 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Seok93 committed Nov 12, 2024
1 parent 7447613 commit 806d0b2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/vitest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: vitest-workflow

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
branches:
- main
- develop
paths:
- 'src/**'

jobs:
vitest:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install node.js v20
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install yarn dependencies
run: yarn install

- name: Run tests with vitest
run: yarn run test -- --passWithNoTests

0 comments on commit 806d0b2

Please sign in to comment.