공지사항 목록 페이지와 API 연동, 변경된 스키마 반영 #83
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: | |
branches: | |
- 'develop/**' | |
- 'weekly/**' | |
jobs: | |
init: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout source code | |
uses: 'actions/checkout@v4' | |
- name: init yarn | |
uses: 'actions/setup-node@v4' | |
with: | |
node-version: '20' | |
- name: yarn berry setup | |
run: corepack enable && yarn set version berry | |
- name: install dependencies | |
run: yarn | |
- name: run eslint | |
run: yarn lint | |
- name: run vitest | |
run: yarn test:ci | |
- name: build test | |
run: yarn build |