Skip to content

Commit

Permalink
added ignores to prettier ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmonisit committed Jan 5, 2024
1 parent ff49b0c commit 0945ae3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [15]
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '20'
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install

- name: Install Dependencies
run: pnpm install
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.yml
*.yaml
*.md
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ We are in the beginning stages of development.
`localhost:3000/dashboard`: This is the dashboard route. This is mapped to `/app/dashboard/(overview)/page.tsx`.

## Making Changes
If you are a part of the frontend team, do not fork the project. Instead, use `git clone`, create a branch *from* the `dev` branch by typing
```
git checkout dev
git branch <your-feature-name>
```
Then, you can submit changes via a pull request so that it can be merged to the `dev` branch.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"prettier": "prettier --write --ignore-unknown .",
"prettier:check": "prettier --check --ignore-unknown .",
"prettier": "prettier --write --ignore-unknown . --max-warnings=0",
"prettier:check": "prettier --check --ignore-unknown . --max-warnings=0",
"seed": "node -r dotenv/config ./scripts/seed.js",
"start": "next start"
},
Expand Down

0 comments on commit 0945ae3

Please sign in to comment.