Skip to content

Commit

Permalink
feat : main으로 pr 생성할때, test 검증하는 yml 파일 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Happhee authored May 30, 2024
1 parent 3b3d55e commit d5dbd35
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pull-request-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pull-request-test

on:
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '19'

- name: Install package manager
run: pnpm install

- name: Run Jest Test
run: pnpm test

0 comments on commit d5dbd35

Please sign in to comment.