From d4cca3f67cc2d4f35809b0a138afe8dd32eb8d43 Mon Sep 17 00:00:00 2001 From: Sneh1999 Date: Wed, 6 Dec 2023 12:44:32 -0500 Subject: [PATCH] fix CI --- .github/workflows/node.js.yml | 5 ++--- packages/cb-cookie-banner/package.json | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 28e3887..06b31d6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,8 +31,7 @@ jobs: working-directory: ./packages/cb-cookie-manager run: yarn test - name: Test cb-cookie-banner + working-directory: ./packages/cb-cookie-banner run: | - PACKAGE_VERSION=$(node -p "require('./packages/cb-cookie-manager').version") - cd packages/cb-cookie-banner - yarn add cb-cookie-manager@${PACKAGE_VERSION} + yarn add cb-cookie-manager@1.0.0 yarn test diff --git a/packages/cb-cookie-banner/package.json b/packages/cb-cookie-banner/package.json index 2b222e5..71e35ad 100644 --- a/packages/cb-cookie-banner/package.json +++ b/packages/cb-cookie-banner/package.json @@ -22,10 +22,10 @@ }, "peerDependencies": { "react": "^18.2.0", - "react-dom": "^18.1.0", - "cb-cookie-manager": "1.0.0" + "react-dom": "^18.1.0" }, "dependencies": { + "cb-cookie-manager": "1.0.0", "react-intl": "^6.5.1", "styled-components": "^5.3.6" }