feat: ๋ณธ์ธ ํ๋กํ ํ์ด์ง > ์น๊ตฌ ์ฐพ๊ธฐ ๋์ ์ถ๊ฐ #345
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Built Test | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, reopened, ready_for_review] | |
jobs: | |
Build-Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- 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('**/pnpm-lock.yaml') }}-build | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: pnpm install | |
- name: Generate CSS | |
run: pnpm panda cssgen | |
- name: Build project | |
run: pnpm build |