From 72fd7594c13c1aa8255f6fd5561f4f554a493fdd Mon Sep 17 00:00:00 2001 From: geonhee-min Date: Wed, 26 Nov 2025 12:06:12 +0900 Subject: [PATCH] issue # gitea ci test --- .gitea/workflows/gitea-ci.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index fd5722a..a980ea2 100644 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -17,7 +17,8 @@ jobs: echo $PWD ls . - - name: Cache node_modules + - name: Restore node_modules + id: cache-node uses: actions/cache@v4 with: path: node_modules @@ -25,12 +26,26 @@ jobs: restore-keys: | yarn-cache- + - name: Restore dist + id: cache-dist + uses: actions/cache@v4 + with: + path: dist + key: dist-cache-${{ github.ref_name }}-${{ hashFiles('**/*.ts') }} + - name: Install Dependencies with yarn + if: steps.cache-node.outputs.cache-hit != 'true' run: | yarn install --immutable ls . - name: Build Nestjs project + if: steps.cache-dist.outputs.cache-hit != 'true' run: | yarn build - ls . \ No newline at end of file + ls . + + - name: Deploy dist + run: | + cp dist $DOCKER_VOLUME/scheduler/back/ + ls $DOCKER_VOLUME/scheduler/back \ No newline at end of file