diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2c59411 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 + +registries: + npmjs: + type: "npm-registry" + url: "https://registry.npmjs.org" + username: x-access-token + password: ${{secrets.NPM_TOKEN}} + +updates: + - package-ecosystem: "npm" + directory: "/" + registries: + - npmjs + schedule: + interval: "daily" # Schedule updates to run daily diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b0b9df..8755e05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,8 @@ jobs: - name: Set npm registry run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc - name: Set npm secrets - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.CUSTOM_GA_TOKEN }}" >> ~/.npmrc - + run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.DEPENDABOT_GITHUB_TOKEN }}" >> ~/.npmrc + - name: Install Dependencies run: npm i - name: Lint the code