From d6b9a12da1a8f515a9569bf803328167d0960c9d Mon Sep 17 00:00:00 2001 From: ghshin Date: Thu, 7 Dec 2023 11:40:33 +0900 Subject: [PATCH] Chore: fix github action --- .github/workflows/ci.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b759315..95b36a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest name: Prepare Job outputs: - stepsPath: ${{ runner.workspace }}/steps + steps: ${{ steps }} steps: - name: Checkout uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: uses: actions/cache@v3 with: path: | - ${{ steps.pnpm-store.outputs.STORE_PATH }} + ${{ steps.pnpm-store.outputs.storePath }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- @@ -53,11 +53,8 @@ jobs: needs: [prepare] name: Linting steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: ./.github/actions/setup-node-pnpm - - uses: ./.github/actions/restore-pnpm-cache + - name: Reuse Prepare Steps + run: echo "${{ needs.prepare.outputs.steps }}" - name: Check style run: | @@ -72,11 +69,8 @@ jobs: needs: [prepare] name: Testing steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: ./.github/actions/setup-node-pnpm - - uses: ./.github/actions/restore-pnpm-cache + - name: Reuse Prepare Steps + run: echo "${{ needs.prepare.outputs.steps }}" - name: Test run: |