From d0b07e9d7adc2b0d2d6083b6f6b3cabd4d0f1742 Mon Sep 17 00:00:00 2001 From: bc-max Date: Wed, 24 Jul 2024 10:36:05 +0300 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20STRF-12284=20Add=20dependabot?= =?UTF-8?q?=D0=96"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8706e3d2b467b002b81d5fd08ef68021536a2e07. --- .github/dependabot.yml | 8 -------- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 8 ++++++-- package.json | 2 +- spec/setup.js | 2 +- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6e0a72d..f41b19a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,7 @@ 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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b41ad2..4b0b9df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,10 +25,10 @@ jobs: node-version: ${{ matrix.node }} - name: Set npm registry - run: echo "@bigcommerce:registry=https://npm.pkg.github.com/" >> ~/.npmrc + 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 - + - name: Install Dependencies run: npm i - name: Lint the code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cbb5a7..2633288 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,16 @@ 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 \ No newline at end of file diff --git a/package.json b/package.json index f9f8e41..67f1a6c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@babel/core": "^7.11.4", "@babel/plugin-transform-runtime": "^7.12.10", "@babel/preset-env": "^7.11.0", - "@bigcommerce/bodl-events": "1.9.0", + "@bigcommerce-labs/bodl-events": "1.9.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^9.1.2", diff --git a/spec/setup.js b/spec/setup.js index d4ec1a4..238897b 100644 --- a/spec/setup.js +++ b/spec/setup.js @@ -1,3 +1,3 @@ -import * as BodlEvents from '@bigcommerce/bodl-events/dist/index.cjs'; +import * as BodlEvents from '@bigcommerce-labs/bodl-events/dist/index.cjs'; global.bodlEvents = BodlEvents;