diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2ba1416 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,41 @@ +version: 2 +updates: + # GitHub Actions + - package-ecosystem: github-actions + directory: .github/workflows + schedule: + interval: weekly + day: wednesday + time: '06:00' + timezone: US/Pacific + commit-message: + prefix: ⬆ + labels: + - maintenance 🔧 + + # NPM + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + day: wednesday + time: '06:00' + timezone: US/Pacific + commit-message: + prefix: ⬆ + labels: + - maintenance 🔧 + groups: + # Group production dependencies together + # Combine all minor and patch updates into one PR + production-dependencies: + dependency-type: production + update-types: + - minor + - patch + # Group development dependencies together + development-dependencies: + dependency-type: development + update-types: + - minor + - patch \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..1f78f96 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,30 @@ +name: 🏭 Build and Deploy to GitHub Pages +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +permissions: + contents: write + +jobs: + build-and-deploy: + concurrency: ci-${{ github.ref }} + runs-on: ubuntu-latest + steps: + - name: 🛎️ Checkout + uses: actions/checkout@v4 + + - name: 🛠️ Install and Build + run: | + npm ci + npm run build + + - name: 🚀 Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: dist