From 6dee651b484eeade5fc489804fff2249c1b05c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Mon, 20 Mar 2023 09:47:36 +0100 Subject: [PATCH 1/3] Fix transpilation --- package.json | 1 + tests/package.json | 2 +- tests/tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4905f006..322fb4e5 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "dependencies": {}, "devDependencies": { + "@types/node": "^18.15.3", "lerna": "^3.22.1", "rimraf": "^3.0.2" }, diff --git a/tests/package.json b/tests/package.json index db8fcf6b..ff80b643 100644 --- a/tests/package.json +++ b/tests/package.json @@ -24,6 +24,6 @@ "fkill-cli": "^6.0.1", "path": "~0.12.7", "rimraf": "^3.0.2", - "typescript": "~4.1.3" + "typescript": "~4.9.0" } } diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 4bdf3194..206d930a 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -5,6 +5,7 @@ "module": "commonjs", "moduleResolution": "Node", "sourceMap": true, - "outDir": "tests-out" + "outDir": "tests-out", + "skipLibCheck": true } } From 7c8808197b4120b029541e4bde098cd34249c64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Mon, 20 Mar 2023 10:14:38 +0100 Subject: [PATCH 2/3] All mutable yarn.lock --- .github/workflows/run-benchmark.yml | 3 +++ .github/workflows/run-memory-leak.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/run-benchmark.yml b/.github/workflows/run-benchmark.yml index 736bb63e..2b27158d 100644 --- a/.github/workflows/run-benchmark.yml +++ b/.github/workflows/run-benchmark.yml @@ -64,6 +64,9 @@ on: default: "benchmark-assets" type: string +env: + YARN_ENABLE_IMMUTABLE_INSTALLS: 0 + permissions: issues: write diff --git a/.github/workflows/run-memory-leak.yml b/.github/workflows/run-memory-leak.yml index b83076f5..78a72f09 100644 --- a/.github/workflows/run-memory-leak.yml +++ b/.github/workflows/run-memory-leak.yml @@ -17,6 +17,9 @@ on: default: "7" type: string +env: + YARN_ENABLE_IMMUTABLE_INSTALLS: 0 + jobs: memory-leak-test: runs-on: ubuntu-22.04 From 07aeb4ff61a6682da5af26c7a300b668d946aca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Mon, 20 Mar 2023 11:46:28 +0100 Subject: [PATCH 3/3] Allow yarn.lock to change in PR tests --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56e02ee8..d8e725b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,9 @@ on: push: branches: ['master'] +env: + YARN_ENABLE_IMMUTABLE_INSTALLS: 0 + jobs: test: runs-on: ubuntu-22.04