Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Added pnpm installation(chore) #58

Merged
merged 4 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# This workflow runs ESLint, Prettier, unit tests, and e2e tests using pnpm.
name: CI

on:
Expand All @@ -17,6 +16,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run Prettier (Pre-commit or in workflow)
Expand All @@ -30,6 +31,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run ESLint
Expand Down
29 changes: 19 additions & 10 deletions .github/workflows/validate-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# This workflow validates pull request titles against Commitlint rules.
name: Validate PR Title
name: "Lint PR"

on:
pull_request:
pull_request:
types:
- opened
- edited
- synchronize
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
validate-title:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dreampulse/action-lint-pull-request-title@v3 # Action for title validation
with:
config: '.commitlintrc.js'
lint-pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- name: Lint PR
uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 0 additions & 11 deletions backend/.commitlintrc.js

This file was deleted.