cache pnpm config

This commit is contained in:
aryan
2025-01-05 18:20:06 +05:30
parent 90e10a913d
commit 56d638cd96

View File

@@ -1,33 +1,31 @@
# Pull Request Description name: Typescript Client CI
on:
## Related Issue push:
Fixes # (issue number) branches: [ main ]
pull_request:
## Changes Made branches: [ main ]
This PR adds the following changes: jobs:
<!-- List the key changes made in this PR --> build:
- runs-on: ubuntu-latest
- strategy:
matrix:
## Implementation Details node-version: [22.x]
<!-- Provide technical details about the implementation --> steps:
- - name: Checkout
- uses: actions/checkout@v4
- name: Install pnpm
## Transaction executed by agent uses: pnpm/action-setup@v2
<!-- If applicable, provide example usage, transactions, or screenshots --> with:
Example transaction: version: 8
- name: Use Node.js ${{ matrix.node-version }}
## Prompt Used uses: actions/setup-node@v4
<!-- If relevant, include the prompt or configuration used --> with:
``` node-version: ${{ matrix.node-version }}
``` cache: 'pnpm'
cache-dependency-path: pnpm-lock.json
## Additional Notes - name: Install dependencies
<!-- Any additional information that reviewers should know --> run: pnpm install
- name: Run lint
## Checklist run: pnpm run lint
- [ ] I have tested these changes locally - name: Run build
- [ ] I have updated the documentation run: pnpm run build
- [ ] I have added a transaction link
- [ ] I have added the prompt used to test it