๐Ÿ›ก๏ธ Test & Secure STEP 08 / 15 โฑ 3 min โณ 100 min left

TEST & SECURE: Dependabot

8.1 โ€” Enable Dependabot

  1. Repository Settings โ†’ Security and quality โ†’ Advanced Security
  2. Dependabot section:
    • Enable Dependency graph (prerequisite for Dependabot)
    • Enable Dependabot security updates
    • Enable Dependabot version updates โ†’ an editor opens with a .github/dependabot.yml template
  3. Change package-ecosystem: "" in the template to "npm" (this repo uses the pnpm / npm ecosystem). The final file should look like this:
version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
  1. Commit changesโ€ฆ โ†’ choose "Create a new branch and start a pull request" โ†’ open the PR and merge it