diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1667bc9..c8d2066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..3682a2a --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +*.yml +*.yaml +*.md \ No newline at end of file diff --git a/README.md b/README.md index 96c1750..1ddbb67 100644 --- a/README.md +++ b/README.md @@ -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 +``` +Then, you can submit changes via a pull request so that it can be merged to the `dev` branch. \ No newline at end of file diff --git a/package.json b/package.json index da29439..66b164d 100644 --- a/package.json +++ b/package.json @@ -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" },