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