Skip to content

chore: 빌드테스트 액션 추가 #1

chore: 빌드테스트 액션 추가

chore: 빌드테스트 액션 추가 #1

Workflow file for this run

name: PR Built Test
on:
pull_request:
types: [opened, edited, reopened, ready_for_review]
jobs:
Build-Test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}-build
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install
- name: Build project
run: pnpm build