RELEASE: ssl 인증서 자동 발급 설정 및 dev 서버 관련 파일 삭제, vercel 설정 파일 추가 #123
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: test-report | |
on: | |
pull_request: | |
branches: | |
- main | |
- release | |
paths: | |
- "client/**" | |
jobs: | |
test-report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 체크아웃 | |
uses: actions/checkout@v2 | |
- name: Node.js 세팅 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18.x" | |
- name: Runner 타임존 설정 | |
run: | | |
sudo timedatectl set-timezone 'Asia/Seoul' | |
- name: 패키지 설치 | |
working-directory: ./client | |
run: | | |
yarn | |
- name: 테스트 실행 | |
working-directory: ./client | |
run: | | |
yarn -s test | |
- name: 테스트 결과 발행 | |
uses: n-ryu/[email protected] | |
if: always() | |
with: | |
name: JEST Tests # Name of the check run which will be created | |
path: client/reports/*.xml # Path to test results | |
reporter: jest-junit | |
- name: Code Coverage 리포트 발행 | |
if: always() | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: unittests # opti |