From 752bc0e1f34601b50f427455d5afc22899e471d1 Mon Sep 17 00:00:00 2001 From: Cole MacKenzie Date: Sun, 17 Nov 2024 20:03:26 -0800 Subject: [PATCH] chore: add dependabot --- .github/dependabot.yml | 21 +++++++++++++++++++++ .github/workflows/workers.yml | 24 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/workers.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..56d4242 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,21 @@ +# 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: + production-dependencies: + dependency-type: "production" + dev-dependencies: + dependency-type: "development" + + - package-ecosystem: "github-actions" + directory: ".github/workflows" + schedule: + interval: "weekly" diff --git a/.github/workflows/workers.yml b/.github/workflows/workers.yml new file mode 100644 index 0000000..4916d3f --- /dev/null +++ b/.github/workflows/workers.yml @@ -0,0 +1,24 @@ +name: Workers + +on: + push: + branches: ['main'] + pull_request: + branches: ['main'] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + - run: pnpm install + - name: Setup Biome + uses: biomejs/setup-biome@v2 + - name: Run Biome + run: biome ci .