From 4ec541055565576593da658a79cc561ea1ecfd81 Mon Sep 17 00:00:00 2001 From: nandan-bhat <167290944+nandan-bhat@users.noreply.github.com> Date: Fri, 21 Jun 2024 18:42:23 +0530 Subject: [PATCH] Workaround for failing "integration test (CRA)" (#769) ### Description > Currently we are unable to merge any PR to the `main` because `integration test (CRA)` and `integration test (Gatsby)` are failing when the Github runs checks. This issue is caused by one of the sub-dependancy (`ajv`) update in the example app `examples/cra-react-router`. The changes made in the pull-request serve as a temporary workaround rather than a definitive solution. ### References > Original issue; failing `Integration Tests / Run example tests (pull_request_target)`. image ### Testing > With this PR changes, all the integration tests and workflow checks should get passed. - [ ] This change adds test coverage for new/changed/fixed functionality ### Checklist - [ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs - [x] All active GitHub checks for tests, formatting, and security are passing - [x] The correct base branch is being used, if not the default branch --- examples/cra-react-router/package.json | 3 +++ examples/gatsby-app/package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/cra-react-router/package.json b/examples/cra-react-router/package.json index 97b75136..b5e8a7d7 100644 --- a/examples/cra-react-router/package.json +++ b/examples/cra-react-router/package.json @@ -13,6 +13,9 @@ "react-scripts": "^5.0.1", "typescript": "^4.6.3" }, + "devDependencies": { + "ajv": "8.16.0" + }, "scripts": { "start": "react-scripts start", "build": "react-scripts build" diff --git a/examples/gatsby-app/package.json b/examples/gatsby-app/package.json index 07e9d765..c21779be 100644 --- a/examples/gatsby-app/package.json +++ b/examples/gatsby-app/package.json @@ -11,7 +11,8 @@ "react-dom": "file:../../node_modules/react-dom" }, "devDependencies": { - "prettier": "2.0.5" + "prettier": "2.0.5", + "ajv": "8.16.0" }, "keywords": [ "gatsby"