首页 > 解决方案 > 为dependabot配置NPM版本

问题描述

我正在使用dependabot 使用以下内容更新我的NPM 依赖项dependabot.yml

version: 2
updates:
- package-ecosystem: npm
  directory: "/"
  schedule:
    interval: monthly
  rebase-strategy: auto

但是,dependabot 使用的 NPM 版本与我在本地安装的版本不同。有没有办法指定 NPM dependabot 使用哪个版本?

标签: npmdependabotdependabot-script

解决方案


推荐阅读