Parse JSON output by hand for PNPM mod detection. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test PNPM caching | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
pnpm: | |
runs-on: | |
- namespace-profile-e2e-small | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PNPM cache | |
uses: ./ # Uses an action in the root directory | |
with: | |
cache: pnpm | |
- uses: actions/checkout@v3 | |
with: | |
repository: PostHog/posthog | |
path: demo | |
- run: pnpm install --frozen-lockfile | |
working-directory: ./demo |