fix pnpm cache #3350
This file contains hidden or 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: ThemeBuilder tests | |
| on: [push, pull_request] | |
| jobs: | |
| themebuilder-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| NODE: [ 20 ] | |
| runs-on: ubuntu-latest | |
| name: ThemeBuilder | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.NODE }} | |
| cache: 'pnpm' | |
| cache-dependency-path: pnpm-lock.yaml | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.12.0 | |
| run_install: false | |
| - name: Install dependencies | |
| env: | |
| PUPPETEER_SKIP_DOWNLOAD: true | |
| run: pnpm install --frozen-lockfile | |
| - name: Run tests | |
| run: pnpm run test-themebuilder |