Skip to content

Commit

Permalink
added verify workflow and the PULL_REQUEST_TEMPLATE
Browse files Browse the repository at this point in the history
  • Loading branch information
yashpokar committed Mar 29, 2024
1 parent 924ef47 commit 0dec848
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!---
😊 Thank you for contributing to ManasAI.
-->

# PR

## What is in the PR?

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

## Type of change

<!--- Feel free to add/remove/update options that are not relevant to current PR -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
29 changes: 29 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Verify

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
name: Verify
runs-on: ubuntu-latest

steps:
- name: 🌍 Setup Repository
uses: actions/checkout@v4

- name: 📦 Install dependencies
run: |
npm install -g pnpm
pnpm install
- name: 🧹 Lint
run: pnpm lint

- name: 🔨 Build
run: pnpm build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"api:test": "nx run api:test",
"lint": "nx run-many --target=lint --all",
"test": "nx run-many --target=test --all",
"build": "nx run-many --target=build --all",
"build": "nx run core:build && nx run ui:build && nx run api:build",
"prepare": "husky"
},
"lint-staged": {
Expand Down

0 comments on commit 0dec848

Please sign in to comment.