[FE] feature/#301 ๋ด ์ ๋ณด ํ์ด์ง ๊ตฌํ #45
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 |