diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..d08fa90 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: pleek91, stackoverfloweth diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..49d6512 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,35 @@ +# 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/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + groups: + build-tools: + patterns: + - "vite" + - "vite-plugin-dts" + - "@vitejs/plugin-vue" + - "typescript" + - "vue-tsc" + testing: + patterns: + - "vitest" + - "@vue/test-utils" + - "happy-dom" + docs: + patterns: + - "vitepress" + - "typedoc" + - "typedoc-plugin-markdown" + - "typedoc-vitepress-theme" + linting: + patterns: + - "eslint" + - "@kitbag/eslint-config" + - "globals" diff --git a/.github/workflows/notify-stars.yml b/.github/workflows/notify-stars.yml new file mode 100644 index 0000000..fe09e2d --- /dev/null +++ b/.github/workflows/notify-stars.yml @@ -0,0 +1,19 @@ +name: Stars Notification to Discord + +on: + watch: + types: [started] + +jobs: + notify: + name: Notify Discord + runs-on: ubuntu-latest + steps: + - uses: kitbagjs/actions-notify-stars@main + with: + DISCORD_WEBHOOK_URL: ${{secrets.DISCORD_WEBHOOK_URL}} + GITHUB_REPOSITORY: ${{github.event.repository.name}} + GITHUB_REPOSITORY_STARS: ${{github.event.repository.stargazers_count}} + GITHUB_SENDER_LOGIN: ${{github.event.sender.login}} + GITHUB_SENDER_AVATAR_URL: ${{github.event.sender.avatar_url}} + GITHUB_SENDER_HTML_URL: ${{github.event.sender.html_url}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5e35458 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,18 @@ +on: + push: + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +name: Create Release + +jobs: + release: + name: Create Release + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: kitbagjs/actions-create-release@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..bcd5462 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Tests + +on: [pull_request] + +jobs: + unit-tests: + name: Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Setup + id: setup + uses: kitbagjs/actions-setup-project@main + + - name: Run tests + run: npm run test + + types: + name: Types + runs-on: ubuntu-latest + + steps: + - name: Setup + id: setup + uses: kitbagjs/actions-setup-project@main + + - name: Run tsc + run: npm run types \ No newline at end of file