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