diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index a9c0801fa4..ac66a90f52 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -10,7 +10,6 @@ runs: - uses: pnpm/action-setup@v2 with: version: 8 - - name: Set up Node.js uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #v3.8.1 with: @@ -19,15 +18,15 @@ runs: scope: '@talend' cache: 'pnpm' - - name: Get pnpm cache directory path - id: pnpm-cache-dir-path - shell: bash - run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT + # - name: Get pnpm cache directory path + # id: pnpm-cache-dir-path + # shell: bash + # run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 - id: pnpm-cache # use this to check for `cache-hit` (`steps.pnpm-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.pnpm-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- + # - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 + # id: pnpm-cache # use this to check for `cache-hit` (`steps.pnpm-cache.outputs.cache-hit != 'true'`) + # with: + # path: ${{ steps.pnpm-cache-dir-path.outputs.dir }} + # key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} + # restore-keys: | + # ${{ runner.os }}-pnpm- diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7dda895631..979b210032 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2232,6 +2232,9 @@ importers: babel-plugin-tester: specifier: ^10.1.0 version: 10.1.0(@babel/core@7.23.2) + jest: + specifier: ^29.7.0 + version: 29.7.0 tools/babel-plugin-import-from-index: dependencies: @@ -2267,6 +2270,9 @@ importers: babel-plugin-tester: specifier: ^10.1.0 version: 10.1.0(@babel/core@7.23.2) + jest: + specifier: ^29.7.0 + version: 29.7.0 tools/cmf-webpack-plugin: dependencies: @@ -2420,6 +2426,9 @@ importers: babel-plugin-angularjs-annotate: specifier: ^0.10.0 version: 0.10.0 + jest: + specifier: ^29.7.0 + version: 29.7.0 tools/scripts-config-cdn: dependencies: @@ -2495,6 +2504,10 @@ importers: eslint-plugin-testing-library: specifier: ^5.11.1 version: 5.11.1(eslint@7.32.0)(typescript@5.2.2) + devDependencies: + jest: + specifier: ^29.7.0 + version: 29.7.0 tools/scripts-config-jest: dependencies: @@ -2873,6 +2886,9 @@ importers: '@talend/scripts-config-babel': specifier: ^13.0.0 version: link:../scripts-config-babel + jest: + specifier: ^29.7.0 + version: 29.7.0 tools/scripts-yarn-workspace: dependencies: diff --git a/tools/babel-plugin-import-d3/package.json b/tools/babel-plugin-import-d3/package.json index 71c7b2abe4..b2136a33c7 100644 --- a/tools/babel-plugin-import-d3/package.json +++ b/tools/babel-plugin-import-d3/package.json @@ -22,7 +22,8 @@ "@babel/core": "^7.23.2", "@babel/preset-env": "^7.22.20", "babel-jest": "^29.7.0", - "babel-plugin-tester": "^10.1.0" + "babel-plugin-tester": "^10.1.0", + "jest": "^29.7.0" }, "jest": { "transform": { diff --git a/tools/babel-plugin-import-from-lib/package.json b/tools/babel-plugin-import-from-lib/package.json index 3525144f52..b608e91182 100644 --- a/tools/babel-plugin-import-from-lib/package.json +++ b/tools/babel-plugin-import-from-lib/package.json @@ -17,6 +17,7 @@ }, "devDependencies": { "@talend/scripts-core": "^15.0.0", - "babel-plugin-tester": "^10.1.0" + "babel-plugin-tester": "^10.1.0", + "jest": "^29.7.0" } } diff --git a/tools/scripts-config-babel/package.json b/tools/scripts-config-babel/package.json index 4766c3349c..54325e1fe1 100644 --- a/tools/scripts-config-babel/package.json +++ b/tools/scripts-config-babel/package.json @@ -30,6 +30,7 @@ "@babel/preset-typescript": "^7.22.15", "@talend/babel-plugin-assets-api": "^1.1.0", "@talend/babel-plugin-import-from-index": "^1.5.1", + "jest": "^29.7.0", "babel-core": "^7.0.0-bridge.0", "babel-plugin-angularjs-annotate": "^0.10.0" }, diff --git a/tools/scripts-config-eslint/package.json b/tools/scripts-config-eslint/package.json index 9081117c81..1c117a2255 100644 --- a/tools/scripts-config-eslint/package.json +++ b/tools/scripts-config-eslint/package.json @@ -37,6 +37,9 @@ "eslint-plugin-storybook": "^0.5.13", "eslint-plugin-testing-library": "^5.11.1" }, + "devDependencies": { + "jest": "^29.7.0" + }, "publishConfig": { "access": "public" } diff --git a/tools/scripts-utils/package.json b/tools/scripts-utils/package.json index b1f073afaf..0e0cb50ad0 100644 --- a/tools/scripts-utils/package.json +++ b/tools/scripts-utils/package.json @@ -12,8 +12,9 @@ "glob": "^8.1.0", "which": "^2.0.2" }, - "devDependencies":{ - "@talend/scripts-config-babel": "^13.0.0" + "devDependencies": { + "@talend/scripts-config-babel": "^13.0.0", + "jest": "^29.7.0" }, "repository": { "type": "git",