[FE] 지하철 format 이 바뀌기 전, 편집 페이지에서 unValidatedStore 를 쓰도록 작업을 한다. #412
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: "jest test" | |
on: | |
pull_request: | |
branches: [dev-fe, dev] | |
paths: | |
- "frontend/**" | |
jobs: | |
test: | |
name: Run Test | |
runs-on: ubuntu-latest | |
outputs: | |
result: ${{ steps.test1.outputs.result}} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Cache dependencies | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
cd frontend | |
yarn install --frozen-lockfile | |
- name: Run Test | |
id: test1 | |
run: | | |
cd frontend | |
yarn test | |
echo "result=테스트실행!" >> $GITHUB_OUTPUT |