fix: pnpm cache (#6570)

pull/6571/head
Arik Chakma 3 months ago committed by GitHub
parent 6a4ee60fd2
commit 442969c9d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 19
      .github/workflows/refresh-roadmap-content-json.yml

@ -9,15 +9,22 @@ jobs:
upgrade-deps: upgrade-deps:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout
- uses: actions/setup-node@v4 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: with:
node-version: 18 node-version: 18
cache: 'pnpm' cache: 'pnpm'
- uses: pnpm/action-setup@v4
with: - name: Install dependencies and generate content JSON
version: 9
- name: Upgrade dependencies
run: | run: |
pnpm install pnpm install
npm run generate:roadmap-content-json npm run generate:roadmap-content-json

Loading…
Cancel
Save