From 2d7b5e59244a67312650927f30d11db432e03bec Mon Sep 17 00:00:00 2001 From: iamwill123 Date: Sun, 2 Jul 2023 10:53:48 -0400 Subject: [PATCH 1/2] rm ignore yml from gitignore --- .github/FUNDING.yml | 5 +++++ .github/ISSUE_TEMPLATE/config.yml | 14 ++++++++++++++ .github/dependabot.yml | 6 ++++++ .github/workflows/run-unit-tests.yml | 26 ++++++++++++++++++++++++++ .gitignore | 2 +- 5 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/run-unit-tests.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..bb5f499 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +custom: + [ + "https://paypal.me/iamwillbk?country.x=US&locale.x=en_US", + "https://venmo.com/iamwillus?txn=pay&amount=5¬e=Thanks%20for%20your%20support!", + ] diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..99d66d5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +blank_issues_enabled: true +issue_templates: + - name: Bug Report + about: Report a bug in the software. + filename: bug_report.md + - name: Feature Request + about: Suggest a new feature or enhancement. + filename: feature_request.md + - name: Maintenance Request + about: Request maintenance or improvements. + filename: maintenance_request.md + - name: Idea Proposal + about: Submit an idea or proposal. + filename: idea_proposal.md diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d1f0d08 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml new file mode 100644 index 0000000..9517fe6 --- /dev/null +++ b/.github/workflows/run-unit-tests.yml @@ -0,0 +1,26 @@ +name: Run Unit Tests + +on: + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: "16.15.1" + cache: "yarn" + - name: Install Dependencies + run: yarn install + - name: Run Unit Tests + run: yarn test:coverage + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.gitignore b/.gitignore index 345984d..7f70cb0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ node_modules/ *.map -*.yml +.yml .npmignore .DS_Store From 7759bd6c5048250e836b1175364efc6733e9cff8 Mon Sep 17 00:00:00 2001 From: iamwill123 Date: Sun, 2 Jul 2023 10:56:43 -0400 Subject: [PATCH 2/2] update .gitignore --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7f70cb0..bb43415 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules/ *.map -.yml .npmignore .DS_Store