Skip to content

HOTFIX(ci): 누락된 파일 추가 #67

HOTFIX(ci): 누락된 파일 추가

HOTFIX(ci): 누락된 파일 추가 #67

Workflow file for this run

name: CI
permissions:
pull-requests: write
contents: read
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
if: ${{ github.actor != 'l10nbot' }} # Avoid running for 'l10nbot'
runs-on: ubuntu-latest
timeout-minutes: 15
outputs:
cache-hit: ${{ steps.cache.outputs.cache-hit }}
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Enable Corepack (for Yarn 2)
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Cache Yarn dependencies
id: cache
uses: actions/cache/restore@v4
with:
path: |
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
key: ${{ runner.os }}-yarn-berry-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-berry-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --immutable
- name: Install TurboRepo
run: yarn add turbo --dev
- name: CI
run: yarn turbo run format lint test build build-storybook --parallel
# - name: Lint
# run: yarn lint
# - name: Run tests
# run: yarn turbo run test --filter=@zagdang/ui -- --runInBand --ci
# - name: Build project
# run: |
# yarn turbo build --parallel
# - name: Build Storybook
# run: yarn turbo run build-storybook