페이스메이커 폴링 취소 로직 추가 및 테스트코드 작성 #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: ["release", "develop"] | |
| pull_request: | |
| branches: ["release", "develop"] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" # npm 쓰면 npm, yarn이면 yarn, pnpm이면 pnpm | |
| - name: Install dependencies | |
| run: | | |
| npm ci || npm install | |
| - name: Run tests | |
| run: | | |
| npm test -- --runInBand |