Skip to content

Commit

Permalink
CI github action 생성 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagaldol authored Dec 27, 2023
2 parents 68838aa + 6944c87 commit 0f4ed2c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build test(Java - Gradle / Next - npm)

on:
pull_request:
branches:
- "main"

jobs:
spring-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
- name: Build with Gradle
run: |
cd server
export $(cat .env.example | xargs)
chmod +x gradlew
./gradlew build
next-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node 16
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install dependencies and build
run: |
cd client
npm install
npm run build

0 comments on commit 0f4ed2c

Please sign in to comment.