hotfix: url에 api 추가 #20
Workflow file for this run
This file contains 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: Frontend CI For Test Validation | |
# 어떤 이벤트가 발생하면 실행할지 결정 | |
on: | |
#pull request open과 reopen 시 실행한다. | |
pull_request: | |
branches: [main, develop] | |
paths: frontend/** | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
jest: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
- name: Install node modules | |
run: npm install | |
- name: Run Jest test | |
run: npm run test |