Skip to content

Commit

Permalink
feat: STRF-12284 Add dependabot (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-max authored Sep 24, 2024
1 parent 7965ea3 commit f3b919f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3b919f

Please sign in to comment.