feat : 2023-10-09 메가테라 3주차 백엔드 DTO 및 CORS 보안 문제 해결 #56
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Install dependencies | |
working-directory: ./web | |
run: npm ci | |
- name: Build | |
working-directory: ./web | |
run: npm run build | |
- name: Test | |
working-directory: ./web | |
run: npm run ci |