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

#16 feature/add-reviews #73

Merged
merged 28 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0adad61
github action for running prettier format
paragraph-dev Jan 8, 2025
bb27568
added token for workflow access
paragraph-dev Jan 8, 2025
d9b3884
added token for workflow access
paragraph-dev Jan 8, 2025
cd5a4cb
gave checkout permissions
paragraph-dev Jan 8, 2025
18209b1
#16 add feature v1
erikenrique Jan 8, 2025
c4e499d
#16 creating add-review feature (assumes companyId is passed)
erikenrique Jan 8, 2025
5453a3c
syntax error
paragraph-dev Jan 8, 2025
4fb679c
Merge branch 'main' into feature/prettier-github-action
paragraph-dev Jan 8, 2025
3afecde
added token for workflow access
paragraph-dev Jan 8, 2025
ccbf37d
merge from main
paragraph-dev Jan 8, 2025
a307694
gave checkout permissions
paragraph-dev Jan 8, 2025
f9da921
updating with main
paragraph-dev Jan 8, 2025
06a93a5
added token to auto-commit
paragraph-dev Jan 8, 2025
e8bb501
pull and merge
paragraph-dev Jan 8, 2025
f2b1ae9
removed checkout token
paragraph-dev Jan 8, 2025
0101397
removed all tokens
paragraph-dev Jan 8, 2025
871e33f
removing yaml from prettier scripts
paragraph-dev Jan 8, 2025
716792c
Apply automatic changes
Jan 8, 2025
beac9db
Merge pr #62 from Resilient-Labs/feature/prettier-github-action; issu…
aidan-diaz Jan 8, 2025
ae20e06
#72 updated company model + added 10 company logos
NagiydE Jan 8, 2025
ecdf251
Apply automatic changes
NagiydE Jan 8, 2025
25958ae
change getUserReview route not to use a user id in the route parameter.
trialnerr Jan 8, 2025
347247f
pr #74 from Resilient-Labs/feature/integrating-logos-into-companies; …
ZariaHallager Jan 8, 2025
b74c1f2
#16 creating add-review feature with updated review schema (assumes c…
erikenrique Jan 8, 2025
c0d3520
#16 creating add-review feature with updated review schema (assumes c…
erikenrique Jan 8, 2025
c7e0e28
Apply automatic changes
erikenrique Jan 8, 2025
102209a
#16 creating add-review feature with updated review schema, weird reb…
erikenrique Jan 8, 2025
885aed1
Merge branch 'feature/add-reviews' of https://github.com/Resilient-La…
erikenrique Jan 8, 2025
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
37 changes: 37 additions & 0 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Code Quality checks
on:
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
prettier:
name: Prettier
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18]

permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: pnpm install -D
- name: Fix formatting with Prettier
run: pnpm format
- name: Check formatting with Prettier
run: pnpm check
- name: Auto-commit changes
uses: stefanzweifel/git-auto-commit-action@v5
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ npm run dev
The backend server is loading from `http://localhost:3000`

### Environment Variables

One ENV goes inside of the config file inside the server and the other ENV is in the root

```
Expand All @@ -45,4 +46,4 @@ CLERK_SECRET_KEY=clerk_secret_key_here
CLERK_PUBLISHABLE_KEY=clerk_publishable_key_here
```

Front end needs "VITE_" prefixing all keys
Front end needs "VITE\_" prefixing all keys
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"format": "prettier --write \"**/*.{ts,tsx,js,md,mdx,css,yaml}\"",
"check": "prettier --check \"**/*.{ts,tsx,js,md,mdx,css,yaml}\""
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,mdx,css}\"",
"check": "prettier --check \"**/*.{ts,tsx,js,jsx,md,mdx,css}\""
},
"dependencies": {
"@clerk/clerk-react": "^5.21.0",
Expand Down
Loading
Loading