Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneh1999 committed Dec 6, 2023
1 parent 1ef1f30 commit d4cca3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
yarn test
4 changes: 2 additions & 2 deletions packages/cb-cookie-banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit d4cca3f

Please sign in to comment.