diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 000000000..d7afe15e5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,38 @@ +name: Feature +description: An enhancement or feature +title: "[Feature]: " +labels: ["triage", "feature"] +body: + - type: textarea + id: description + attributes: + label: Description + description: A step-by-step description of the suggested feature/enhancement. + placeholder: On the user page, you should be able to... + validations: + required: true + - type: textarea + id: acceptanceCriteria + attributes: + label: Acceptance Criteria + description: What are the things that must be achieved for your ticket to be considered complete. + validations: + required: true + - type: markdown + attributes: + value: > + | Please include any screenshots which would help demonstrate the steps + and point out which parts the feature is related to + - type: textarea + id: links + attributes: + label: Links + description: Place links to supporting docs here. e.g. Figma + value: > + | [`FIGMA LINK`](LINK_HERE) + - type: textarea + id: images + attributes: + label: Images + description: Paste images or image urls + value: "![image](URL_HERE)" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..e7ab1cf98 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,49 @@ + + +# Description + + + + + +**Closes #issue_number_here** + +# Changes proposed + +## What were you told to do? + + + +## What did you do? + + + +# Check List (Check all the applicable boxes) + +🚨Please review the [contribution guideline](CONTRIBUTING.md) for this repository. + + + + + +- [ ] My code follows the code style of this project. +- [ ] This PR does not contain plagiarized content. +- [ ] The title and description of the PR is clear and explains the approach. +- [ ] I am making a pull request against the **dev branch** (left side). +- [ ] My commit messages styles matches our requested structure. +- [ ] My code additions will fail neither code linting checks nor unit test. +- [ ] I am only making changes to files I was requested to. + +# Screenshots/Videos + + + + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..256efa5bd --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,41 @@ +name: Checks + +on: + push: + branches: + - main + - dev + - staging + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - run: pnpm install + - name: "Test" + run: pnpm run test:ci + + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - run: pnpm install + - uses: reviewdog/action-eslint@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fail_on_error: true + reporter: github-pr-check + eslint_flags: ". --ext js,jsx,ts,tsx --ignore-path=.gitignore --max-warnings 0"