[FE] 캘린더 메모 기능 추가 #613
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 test for PR to develop | |
on: | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- frontend/** | |
defaults: | |
run: | |
working-directory: frontend | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node with cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
cache-dependency-path: "**/package-lock.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Run build | |
run: npm run build:dev | |
- name: Run unit test | |
run: npm run test:ci |