From 05f4b7818351cd7a608475b1ee57d77a90566d09 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 24 Nov 2023 08:46:50 +0800 Subject: [PATCH] Experiment --- .github/workflows/pr-unit-tests.yml | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index c34ff360705..a3f2d80c5e4 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 fba3db51774..f781c8da566 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",