템플릿 수정, 삭제 api 요청 기능 추가 #16
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 | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-with-test: | |
runs-on: ubuntu-latest | |
env: | |
frontend-directory: ./frontend | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ${{ env.frontend-directory }} | |
- name: Run Type Checking | |
run: npm run tsc | |
working-directory: ${{ env.frontend-directory }} | |
- name: Run Tests | |
run: npm run test | |
working-directory: ${{ env.frontend-directory }} |