Skip to content

Commit

Permalink
rever pull req template + add build
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyanag committed Jan 5, 2025
1 parent 56d638c commit 0aacffb
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 41 deletions.
64 changes: 33 additions & 31 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -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
# 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
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0aacffb

Please sign in to comment.