Skip to content

Commit

Permalink
chore: build-test 워크플로 추가 (prgrms-fe-devcourse#219)
Browse files Browse the repository at this point in the history
* chore: build-test 워크플로 추가

* chore: 빌드 테스트 대상 브랜치 main으로 변경
  • Loading branch information
bbearcookie authored Dec 13, 2023
1 parent 26e91fc commit de526d4
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build Test

on:
pull_request:
branches: ['main']

jobs:
build-react:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- run: yarn
- run: yarn web build
build-express:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- run: yarn
- run: yarn slack build
build-api-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- run: yarn
- run: yarn api-docs build

0 comments on commit de526d4

Please sign in to comment.