-
Notifications
You must be signed in to change notification settings - Fork 3
67 lines (51 loc) · 1.47 KB
/
pull-request.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
57
58
59
60
61
62
63
64
65
66
67
name: Build & Test
on:
pull_request:
branches: ['chore/224-express-directory']
jobs:
react:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js 및 Yarn 설치
uses: ./.github/actions/setup
- name: React 앱 빌드
run: yarn web build
express:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js 및 Yarn 설치
uses: ./.github/actions/setup
- name: env 파일 생성
run: |
echo "${{ secrets.EXPRESS_ENV_FILE }}" >> .env
mv .env packages/slack/.env
cat packages/slack/.env
- run: ls -al packages/slack
- name: Express 앱 빌드
run: yarn slack build
- run: ls -al packages/slack
- name: Express 앱 테스트 코드 실행
run: yarn slack test
why:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js 및 Yarn 설치
uses: ./.github/actions/setup
- name: env 파일 생성
run: |
echo "${{ secrets.EXPRESS_ENV_FILE }}" >> .env
mv .env packages/slack/.env
cat packages/slack/.env
- name: Express 앱 테스트 코드 실행
run: yarn slack test
api-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Node.js 및 Yarn 설치
uses: ./.github/actions/setup
- name: API 문서 빌드
run: yarn api-docs build