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