변경된 정책에 맞게 어드민 활동점수 추가/차감 항목을 변경 (#311) #1120
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.13.0' | |
- name: Install dependencies | |
run: yarn install --immutable # --immutable-cache | |
- name: Lint code | |
run: yarn lint:code | |
- name: Lint style | |
run: yarn lint:style | |
- name: Test | |
run: yarn test:ci | |
- name: Build for dev | |
run: yarn build-dev | |
if: "!(contains(github.ref, 'main') || contains(github.ref, 'release'))" | |
- name: Build for prod | |
run: yarn build-prod | |
if: contains(github.ref, 'main') || contains(github.ref, 'release') |