Skip to content

Commit

Permalink
Add github settings and Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
riccjohn committed Mar 20, 2024
1 parent b4a962d commit 26711e9
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---

# Bug Report

## Description

<!-- A clear and concise description of what the bug is. -->

## Steps to Reproduce

<!-- Steps to reproduce the behavior -->

1.
2.

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

### Additional context

<!-- Add any other context about the problem here. -->
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---

# Feature Request

## Acceptance Criteria

**As a**\
**I want**\
**So that**

## Extra Notes / Context for Developer

<!-- Extra notes for the developer that picks up this ticket -->

## Notes by Developer

<!-- Notes from the dev working on this ticket -->
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '.'
schedule:
interval: 'weekly'
- package-ecosystem: 'npm' # See documentation for possible values
directory: '.' # Location of package manifests
schedule:
interval: 'weekly'
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description

<!-- Describe your changes in detail -->
<!-- Does this fix a bug, implement a new feature, etc? -->

### Related Issue(s)

<!-- Reference the issue this PR relates to -->
<!-- Use keywords if possible (ex. Closes #10 ) -->
<!-- https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests -->

## Screenshots

<!-- (if applicable) -->
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{env.GITHUB_REF}}
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: yarn.lock
- run: yarn install --frozen-lockfile
- run: yarn test:ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest",
"test": "vitest --coverage",
"test:ci": "vitest --coverage",
"lint": "eslint .",
"format": "prettier --write .",
"prepare": "husky"
Expand Down

0 comments on commit 26711e9

Please sign in to comment.