Skip to content

Commit

Permalink
feat: STRF-12284 Add dependabotЖ
Browse files Browse the repository at this point in the history
- bodl-events fix
  • Loading branch information
bc-max committed Jul 24, 2024
1 parent 5b2f868 commit 8706e3d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
version: 2
registries:
npmjs:
type: "npm-registry"
url: "https://registry.npmjs.org"
username: x-access-token
password: ${{secrets.SBT_DEPENDENCY_GRAPH_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 @@ -25,10 +25,10 @@ jobs:
node-version: ${{ matrix.node }}

- name: Set npm registry
run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc
run: echo "@bigcommerce:registry=https://npm.pkg.github.com/" >> ~/.npmrc
- name: Set npm secrets
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.CUSTOM_GA_TOKEN }}" >> ~/.npmrc

- name: Install Dependencies
run: npm i
- name: Lint the code
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ on:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- 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: npm i
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
- run: npm publish
- run: npm publish
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@babel/core": "^7.11.4",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.11.0",
"@bigcommerce-labs/bodl-events": "1.9.0",
"@bigcommerce/bodl-events": "1.9.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^9.1.2",
Expand Down
2 changes: 1 addition & 1 deletion spec/setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as BodlEvents from '@bigcommerce-labs/bodl-events/dist/index.cjs';
import * as BodlEvents from '@bigcommerce/bodl-events/dist/index.cjs';

global.bodlEvents = BodlEvents;

0 comments on commit 8706e3d

Please sign in to comment.