From 8786d2a6763c52b7f3ab3aeb9b1d8e5a57a25346 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 15 Jan 2023 18:03:40 +0900 Subject: [PATCH] Fix: CI - checkout --- .github/actions/node-setup/action.yml | 4 +--- .github/workflows/ci.yml | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/node-setup/action.yml b/.github/actions/node-setup/action.yml index f2dd690..a98ffb1 100644 --- a/.github/actions/node-setup/action.yml +++ b/.github/actions/node-setup/action.yml @@ -3,13 +3,11 @@ name: "Setup" runs: using: "composite" steps: - - name: Checkout - uses: actions/checkout@v3 - # https://github.com/actions/cache/blob/main/examples.md#node---yarn - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" + shell: bash - name: Node cache id: node-cache diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1c5ed8..853e83f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup uses: ./.github/actions/node-setup