Skip to content

Commit

Permalink
ci: pr 시 build test
Browse files Browse the repository at this point in the history
  • Loading branch information
yoopark committed Nov 2, 2023
1 parent 0db5c4c commit ef53ce7
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build Test (Frontend)

on:
pull_request:
branches:
- develop
types: [opened, synchronize]

defaults:
run:
working-directory: ./app

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
ref: develop
submodules: true
token: ${{ secrets.READ_PRIVATE_SUBMODULE_TOKEN }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 19

- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm i

- name: Build
run: pnpm run build:dev

0 comments on commit ef53ce7

Please sign in to comment.