diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18acaf7..b698844 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: node-version: '14' cache: 'yarn' - name: Install dependencies - run: yarn --frozen-lockfile + run: yarn --ignore-scripts --frozen-lockfile - name: Run eslint run: yarn run eslint # unit: @@ -32,6 +32,6 @@ jobs: # node-version: '14' # cache: 'yarn' # - name: Install dependencies - # run: yarn --frozen-lockfile + # run: yarn --ignore-scripts --frozen-lockfile # - name: Run test # run: yarn run -s test:unit diff --git a/package.json b/package.json index 91a9b77..097d7b1 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "scripts": { "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'", - "test:unit": "jest --verbose" + "test:unit": "jest --verbose", + "postinstall": "rm -rf node_modules/@strapi/helper-plugin" }, "dependencies": { "chalk": "^4.1.2", @@ -70,7 +71,7 @@ "jest-cli": "^26.0.1", "jest-styled-components": "^7.0.2", "lodash": "^4.17.11", - "react": "^16.8.6", + "react": "^17.0.2", "react-intl": "^5.20.12", "react-redux": "^7.2.2", "redux": "^4.0.5", diff --git a/yarn.lock b/yarn.lock index d60948d..802443a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10330,15 +10330,6 @@ react-with-styles@^4.1.0: prop-types "^15.7.2" react-with-direction "^1.3.1" -react@^16.8.6: - version "16.14.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" - integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - react@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"