Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Report a problem to improve **funded**
title: "[BUG]"
labels: bug
assignees: thinkjrs
---

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

**To Reproduce**
<!--Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error-->

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

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

**Desktop (please complete the following information):**
<!--
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]-->

**Smartphone (please complete the following information):**
<!--
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]-->

**Additional context**
<!--Add any other context about the problem here.-->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for **funded**
title: "[Feature]"
labels: enhancement
assignees: thinkjrs
---

**Is your feature request related to a problem? Please describe.**
<!--A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]-->

**Describe the solution you'd like**
<!--A clear and concise description of what you want to happen.-->

**Describe alternatives you've considered**
<!--A clear and concise description of any alternative solutions or features you've considered.-->

**Additional context**
<!--Add any other context or screenshots about the feature request here.-->
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/new-component-init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: New UI Component
about: Start the process for requesting a new component
title: "[New Component]: <name_your_component> <short_reason_for_your_component>"
labels: enhancement
assignees: thinkjrs

---
## New Component Description
<!--Add a description to specify a new component below outlining component uses, any photos, and possible client interaction issues.-->

### Relevant information
<!-- If your component idea contains anything unique or special, discuss it here in a few sentences or bullet points.-->

### Client apps
<!--List all the apps you see this component being used in and their particular use cases. E.g. in Fan.Booster a "line graph" component is used in client pages.-->
45 changes: 45 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# The github labeling workflow bot
documentation:
- ./README.md
- ./*.md

test:
- __test__/*
- ./*.test.js
- stories/*.test.js

packaging:
- package.json

build:
- package-lock.json

configuration:
- .storybook
- .prettierrc.js
- .eslintrc.js
- postcss.config.js
- tailwind.config.js

storybook:
- .storybook/

component:
- stories/*.js
- components/*.js

css:
- styles/*
- tailwind.config.js

artist-facing:
- pages/*
- components/*

engineering:
- lib/*

application:
- pages/*
- components/*
- lib/*
19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on: [push]
jobs:
build:
name: Check quality and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x']
os: [ubuntu-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1

- name: Test
run: npm run test --ci --coverage --maxWorkers=2
25 changes: 25 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mirror to latest-feature

on:
push:
branches:
- 'feature/**'
pull_request:
branches:
- 'feature/**'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror SOURCE_BRANCH_NAME branch to DESTINATION_BRANCH_NAME branch
steps:
- name: Get the current branch name
shell: bash
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
id: getbranch
- name: Mirror action step
id: mirror
uses: google/mirror-branch-action@v1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: ${{ steps.getbranch.outputs.branch }}
dest: 'latest-feature'