This directory contains configuration files for GitHub repository settings and workflows.
A GitHub Actions workflow that runs on every push and pull request to the main branch. It includes:
- Node.js setup with pnpm
- Dependency installation
- Linting and type checking
- Testing
- Building the application
- Deployment (to be configured)
Defines the code owners for different parts of the repository. Currently, @lchtangen is set as the owner for all files. Update this file to include your team members as the project grows.
To set up branch protection rules for the main branch, run:
./scripts/setup-branch-protection.shThis will configure the following protections:
- Require pull request reviews before merging
- Require status checks to pass before merging
- Require branches to be up to date before merging
- Require linear history
- Prevent force pushes
- Prevent branch deletion
- Require conversation resolution before merging
For the CI/CD pipeline to work properly, make sure to set up the following GitHub secrets in your repository settings:
NPM_TOKEN(for private package access, if needed)VERCEL_TOKEN(if deploying to Vercel)- Any other environment-specific secrets
- Clone the repository
- Install dependencies:
pnpm install - Run the development server:
pnpm dev
- Create a new branch for your feature/fix
- Make your changes and commit them
- Push your branch and create a pull request
- Request a review from the relevant code owners
- Once approved, merge your pull request into
main
This project is licensed under the terms of the MIT License.