From 12c1d3584b3e0ba8844688bdb80e0f88086d3e4a Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 14 Aug 2024 20:26:30 +0600 Subject: [PATCH] fix: pnpm cache --- .../refresh-roadmap-content-json.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/refresh-roadmap-content-json.yml b/.github/workflows/refresh-roadmap-content-json.yml index c50b365c9..04ee6235f 100644 --- a/.github/workflows/refresh-roadmap-content-json.yml +++ b/.github/workflows/refresh-roadmap-content-json.yml @@ -9,15 +9,22 @@ jobs: upgrade-deps: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 18 cache: 'pnpm' - - uses: pnpm/action-setup@v4 - with: - version: 9 - - name: Upgrade dependencies + + - name: Install dependencies and generate content JSON run: | pnpm install npm run generate:roadmap-content-json