From eed4ec093ea2db9dc1c18c143e60cfe312328cbe Mon Sep 17 00:00:00 2001 From: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com> Date: Mon, 29 Jul 2024 10:10:06 -0400 Subject: [PATCH] fix playwright cache --- .../playwright-atomic-hosted-pages/action.yml | 1 + package-lock.json | 60 +++++++++---------- packages/atomic-hosted-page/package.json | 2 +- packages/atomic/package.json | 2 +- 4 files changed, 33 insertions(+), 32 deletions(-) diff --git a/.github/actions/playwright-atomic-hosted-pages/action.yml b/.github/actions/playwright-atomic-hosted-pages/action.yml index c09fa02a1b4..03a9ab42960 100644 --- a/.github/actions/playwright-atomic-hosted-pages/action.yml +++ b/.github/actions/playwright-atomic-hosted-pages/action.yml @@ -5,6 +5,7 @@ runs: steps: - name: Install Playwright Browsers run: npx playwright install --with-deps + working-directory: packages/atomic-hosted-page shell: bash - name: Run Playwright tests run: npx playwright test diff --git a/package-lock.json b/package-lock.json index 2971a7ecd9a..2aff409f9ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55216,7 +55216,7 @@ "@nx/storybook": "19.5.3", "@nx/vite": "19.5.3", "@nx/web": "19.5.3", - "@playwright/test": "1.41.2", + "@playwright/test": "1.45.3", "@rollup/plugin-alias": "5.1.0", "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0", @@ -55371,23 +55371,23 @@ }, "devDependencies": { "@coveo/release": "1.0.0", - "@playwright/test": "1.41.2", + "@playwright/test": "1.45.3", "@types/node": "20.14.12" } }, "packages/atomic-hosted-page/node_modules/@playwright/test": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.41.2.tgz", - "integrity": "sha512-qQB9h7KbibJzrDpkXkYvsmiDJK14FULCCZgEcoe2AvFAS64oCirWTwzTlAYEbKaRxWs5TFesE1Na6izMv3HfGg==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", + "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", "dev": true, "dependencies": { - "playwright": "1.41.2" + "playwright": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "packages/atomic-hosted-page/node_modules/@types/node": { @@ -55414,33 +55414,33 @@ } }, "packages/atomic-hosted-page/node_modules/playwright": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.2.tgz", - "integrity": "sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", + "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", "dev": true, "dependencies": { - "playwright-core": "1.41.2" + "playwright-core": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" } }, "packages/atomic-hosted-page/node_modules/playwright-core": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.2.tgz", - "integrity": "sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", + "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", "dev": true, "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "packages/atomic-react": { @@ -56449,18 +56449,18 @@ } }, "packages/atomic/node_modules/@playwright/test": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.41.2.tgz", - "integrity": "sha512-qQB9h7KbibJzrDpkXkYvsmiDJK14FULCCZgEcoe2AvFAS64oCirWTwzTlAYEbKaRxWs5TFesE1Na6izMv3HfGg==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", + "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", "dev": true, "dependencies": { - "playwright": "1.41.2" + "playwright": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "packages/atomic/node_modules/@puppeteer/browsers": { @@ -57307,33 +57307,33 @@ } }, "packages/atomic/node_modules/playwright": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.2.tgz", - "integrity": "sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", + "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", "dev": true, "dependencies": { - "playwright-core": "1.41.2" + "playwright-core": "1.45.3" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" } }, "packages/atomic/node_modules/playwright-core": { - "version": "1.41.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.2.tgz", - "integrity": "sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", + "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", "dev": true, "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "packages/atomic/node_modules/playwright/node_modules/fsevents": { diff --git a/packages/atomic-hosted-page/package.json b/packages/atomic-hosted-page/package.json index bb20c0bd6d9..d8789aeee28 100644 --- a/packages/atomic-hosted-page/package.json +++ b/packages/atomic-hosted-page/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@coveo/release": "1.0.0", - "@playwright/test": "1.41.2", + "@playwright/test": "1.45.3", "@types/node": "20.14.12" } } diff --git a/packages/atomic/package.json b/packages/atomic/package.json index efc72281caf..05402a2a972 100644 --- a/packages/atomic/package.json +++ b/packages/atomic/package.json @@ -74,7 +74,7 @@ "@nx/storybook": "19.5.3", "@nx/vite": "19.5.3", "@nx/web": "19.5.3", - "@playwright/test": "1.41.2", + "@playwright/test": "1.45.3", "@rollup/plugin-alias": "5.1.0", "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0",