Skip to content

Commit

Permalink
Merge pull request #4 from dbpkgs/config-setup
Browse files Browse the repository at this point in the history
update configs
  • Loading branch information
sheldon-welinga committed Feb 21, 2022
2 parents a60a3a0 + 04f18a8 commit 9ad1075
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 23 deletions.
22 changes: 12 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
name: '🐛 Bug report'
about: File a bug report to help us improve!
title: "[BUG]"
title: 'Bug'
labels: bug
assignees: ''

---

**Describe the bug**
Expand All @@ -13,6 +12,7 @@ _A clear and concise description of what the bug is._
**To Reproduce**
_Steps to reproduce the behavior:_
_You can opt to attach a screenshot at the screenshot section or attach a loom video or briefly state your issue with words like suggested below_

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -26,16 +26,18 @@ _If applicable, add screenshots to help explain your problem._

**Desktop/Laptop (please complete the following information):**
_Describe the platform you are using to run this software that your are experiencing issue with_
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version (Optional) [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version (Optional) [e.g. 22]

**Smartphone (please complete the following information):**
_If device is a smartphone describe the optional below regarding the device_
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Version**
_What version of this software are you using/running and getting the bug in. e.g. v1.0.0_
Expand Down
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: '📃 Documentation Bug'
about: You want to report something that is wrong or missing from the documentation.
title: 'Docs:'
labels: 'Type: Docs'
---
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea to help us improve this software
title: "[FEATURE]"
name: '🚀 Feature request'
about: You have a better idea that will make @dbpkgs/cookie better or want to discuss some aspect of the software
title: 'Feature'
labels: Feature suggestion
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: '🤔 Questions and Help'
about: You need help installing or intergrating @dbpkgs/cookie package with your application.
title: 'Question: '
labels: 'Type: Question'
---
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. -->

## Summary

_Explain what existing problem does the pull request solve_

<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->

## Changelog

_Have you added your changes in the changelog? Have you followed pre-existing change format?_
[ ] - Edit CHANGELOG.md

<!-- Help reviewers and the release process by writing your own changelog entry. This should just be a brief oneline we can mention in our release notes: https://github.com/dbpkgs/cookie/releases -->

## Test Plan

_Attach a screenshot or loom video of the change done_

<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI / output of the test runner and how you invoked it. -->
20 changes: 13 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This workflow will run when we release a package
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: npm-publish
name: Publish Release

on:
release:
Expand All @@ -17,11 +17,17 @@ jobs:
with:
node-version: '~14.17.1'
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn check:type
- run: yarn check:format
- run: yarn build
- run: yarn test
- run: yarn publish --access public
- name: Install packages
run: yarn install
- name: Check file types
run: yarn check:type
- name: Check files formatting
run: yarn check:format
- name: Build project
run: yarn build
- name: Check if tests are passing
run: yarn test
- name: Publish the release
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The workflow runs on git push
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: push-checks
name: Push changes to github
on:
push:
jobs:
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
[dbpkgs](mailto:[email protected]).
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down

0 comments on commit 9ad1075

Please sign in to comment.