From 56d638cd9616eaec3eea9d52b8a69e7dd019bc89 Mon Sep 17 00:00:00 2001 From: aryan Date: Sun, 5 Jan 2025 18:20:06 +0530 Subject: [PATCH 1/2] cache pnpm config --- .github/pull_request_template.md | 64 ++++++++++++++++---------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ed526480..69520508 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,33 +1,31 @@ -# Pull Request Description - -## Related Issue -Fixes # (issue number) - -## Changes Made -This PR adds the following changes: - -- -- - -## Implementation Details - -- -- - -## Transaction executed by agent - -Example transaction: - -## Prompt Used - -``` -``` - -## Additional Notes - - -## 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 \ No newline at end of file From 0aacffb78d3ee9ed9ea6f44719e8fde37e415c7b Mon Sep 17 00:00:00 2001 From: aryan Date: Sun, 5 Jan 2025 18:21:47 +0530 Subject: [PATCH 2/2] rever pull req template + add build --- .github/pull_request_template.md | 64 ++++++++++++++++---------------- .github/workflows/build.yml | 15 +++----- 2 files changed, 38 insertions(+), 41 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 69520508..ed526480 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,31 +1,33 @@ -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 \ No newline at end of file +# Pull Request Description + +## Related Issue +Fixes # (issue number) + +## Changes Made +This PR adds the following changes: + +- +- + +## Implementation Details + +- +- + +## Transaction executed by agent + +Example transaction: + +## Prompt Used + +``` +``` + +## Additional Notes + + +## 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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b967a1f..69520508 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,36 +1,31 @@ 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 pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - name: Install dependencies run: pnpm install - name: Run lint run: pnpm run lint - name: Run build - run: pnpm run build - # - run: pnpm run test # TODO: add mock env for testing + run: pnpm run build \ No newline at end of file