diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index c34ff36070..a3f2d80c5e 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -15,7 +15,7 @@ jobs: node-version-file: '.nvmrc' - run: npm -g install yarn - run: yarn install --frozen-lockfile - - run: yarn prebuild + - run: rm -rf node_modules/i18next/index.v4.d.ts node_modules/react-i18next/index.d.ts - name: run unit tests env: NODE_OPTIONS: '--max-old-space-size=8192' diff --git a/package.json b/package.json index fba3db5177..f781c8da56 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "starts": "cross-env NODE_ENV=development webpack-dev-server --https --colors --config ./build_scripts/webpack.config.js", "start-prod": "cross-env NODE_ENV=production webpack-dev-server --colors --config ./build_scripts/webpack.config.js", "starts-prod": "cross-env NODE_ENV=production webpack-dev-server --https --colors --config ./build_scripts/webpack.config.js", - "prebuild": "node add-ts-nocheck", "test": "tsc --noEmit && yarn lint-quiet && yarn jest", "test-e2e": "npx concurrently --kill-others -n 'neo4j,cypress,browser' 'docker run --env NEO4J_AUTH=neo4j/newpassword -p7474:7474 -p7687:7687 neo4j:4.2.2' 'yarn wait-on-neo4j && yarn wait-on-dev && yarn e2e-local --env server=4.2' 'yarn && yarn start'", "update-licenses": "sh ./scripts/generate_licenses.sh",