Skip to content

Commit

Permalink
fix: ci build시 깨지는 이슈 수정 (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin authored Nov 16, 2024
1 parent c56b599 commit 715715d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
CACHED_DEPENDENCY_PATHS: |
${{ github.workspace }}/.yarn/cache
${{ github.workspace }}/node_modules
${{ github.workspace }}/packages/*/node_modules
CACHED_BUILD_PACKAGE_UI_PATHS: ${{ github.workspace }}/packages/ui/dist
CACHED_BUILD_PACKAGE_CORE_PATHS: ${{ github.workspace }}/packages/core/dist
DEFAULT_NODE_VERSION: "v20.11.1"
Expand Down Expand Up @@ -76,11 +77,16 @@ jobs:
node-version: ${{ env.DEFAULT_NODE_VERSION }}

- name: Check dependency cache
id: cache-deps
uses: actions/cache@v4
with:
path: ${{ needs.job_install_dependencies.outputs.yarn_cache_dir_path }}
key: ${{ needs.job_install_dependencies.outputs.dependency_cache_key }}

- name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: yarn install --immutable

- name: Compute @dnd-academy/core cache key
id: compute_core_cache_key
run: echo "hash=${{ runner.os }}-core-build-${{ hashFiles('packages/core/**') }}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 715715d

Please sign in to comment.