diff --git a/.github/workflows/_ci.yml b/.github/workflows/_ci.yml index 5df0249..3312e94 100644 --- a/.github/workflows/_ci.yml +++ b/.github/workflows/_ci.yml @@ -15,7 +15,8 @@ jobs: with: node-version: 20.x cache: pnpm - - name: Get pnpm store directory + - name: Get pnpm cache directory path + id: pnpm-cache-path run: | echo "store=$(pnpm store path --silent)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38cff13..99b5b34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,11 @@ jobs: uses: pnpm/action-setup@v4 with: run_install: false + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' - name: Get pnpm cache directory path id: pnpm-cache-path run: echo "store=$(pnpm store path --silent)" >> $GITHUB_OUTPUT diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 760ea81..af42322 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,6 +27,11 @@ jobs: uses: pnpm/action-setup@v4 with: run_install: false + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' - uses: actions/configure-pages@v5 with: # Automatically inject basePath in next.config.js