-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (44 loc) · 1.09 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
pull_request:
branches: [ dev ]
jobs:
backend:
name: CI with Gradle
runs-on: ubuntu-18.04
defaults:
run:
shell: bash
working-directory: BE
steps:
- name: 체크아웃 Github-Action
uses: actions/checkout@v2
- name: 자바 JDK 1.8 설치
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: gradlew 권한 부여
run: chmod +x ./gradlew
- name: Gradle 빌드
run: ./gradlew build
frontend:
name: CI with Node.js
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: client
strategy:
matrix:
node-version: [12.16.x]
steps:
- name: 체크아웃 Github-Action
uses: actions/checkout@v2
- name: node.js 12 설치 ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm 설치
run: npm install
- name: npm 빌드
run: unset CI && npm run build