diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..0086358 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..01bbe9c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,33 @@ +name: Feature request +description: Use this template to suggest new features +labels: [enhancement] +body: + + - type: textarea + id: feature-description + attributes: + label: Describe your suggestion + placeholder: How would it work? + validations: + required: true + + - type: textarea + id: other-details + attributes: + label: Other details + placeholder: | + Additional details and attachments. + + - type: checkboxes + id: checklist + attributes: + label: Checklist + options: + - label: I am running the latest version. + required: true + - label: I checked the documentation and found no answer. + required: true + - label: I have searched the existing issues and made sure this is not a duplicate. + required: true + - label: I have provided sufficient information. + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml new file mode 100644 index 0000000..27377d2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -0,0 +1,77 @@ +name: Issue Report +title: " " +description: Use this template to report a problem +labels: [bug] +body: + - type: textarea + id: reproduce-steps + attributes: + label: Steps to reproduce + description: Please provide detailed steps for reproducing the issue. + placeholder: | + Example: + 1. Step 1 + 2. Step 2 + 3. You get it.. + validations: + required: true + + - type: textarea + id: failure-logs + attributes: + label: Failure Logs + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: What did you expect to happen? + validations: + required: true + + - type: textarea + id: current-behavior + attributes: + label: Current behavior + description: What is the current behavior? + validations: + required: true + + - type: dropdown + id: version + attributes: + label: Version + description: What version of the library are you running? + options: + - Default + - Edge + validations: + required: true + + - type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false + + - type: checkboxes + id: checklist + attributes: + label: Checklist + options: + - label: I am running the latest version. + required: false + - label: I checked the documentation and found no answer. + required: true + - label: I have searched the existing issues and made sure this is not a duplicate. + required: true + - label: I have provided sufficient information. + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..946131a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,33 @@ +name: Question +description: Use this template to ask a question about the project +labels: [question] +body: + + - type: textarea + id: question + attributes: + label: Question + placeholder: What do you want to know? + validations: + required: true + + - type: textarea + id: other-details + attributes: + label: Other details + placeholder: | + Additional details and attachments. + + - type: checkboxes + id: checklist + attributes: + label: Checklist + options: + - label: I am running the latest version. + required: true + - label: I checked the documentation and found no answer. + required: true + - label: I have searched the existing issues and made sure this is not a duplicate. + required: true + - label: I have provided sufficient information. + required: true \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ef2e34c --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: lint + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm ci + - run: npm run lint \ No newline at end of file diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..efff13f --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,34 @@ +name: release-please + +on: + push: + branches: + - main + +jobs: + release-please: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + token: ${{ secrets.GITHUB_TOKEN }} + release-type: node + package-name: jintr + - uses: actions/checkout@v2 + if: ${{ steps.release.outputs.release_created }} + - uses: actions/setup-node@v3 + with: + node-version: "16.x" + registry-url: "https://registry.npmjs.org" + if: ${{ steps.release.outputs.release_created }} + - name: Publish to NPM + run: | + npm ci + npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + if: ${{ steps.release.outputs.release_created }} diff --git a/package.json b/package.json index 7dba285..1aac016 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ }, "keywords": [ "UMP", + "SABR", "Google", "YouTube" ],