From 28a51750cf59fb4c467cdf770924f36fce461289 Mon Sep 17 00:00:00 2001 From: Anurag Gupta Date: Sun, 26 Jan 2025 01:51:38 +0530 Subject: [PATCH] fix: ci --- .github/workflows/pr_evaluation.yml | 2 +- .github/workflows/publish.yml | 2 +- package-lock.json | 72 ++++++++++++++++++++++++----- package.json | 1 + 4 files changed, 64 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr_evaluation.yml b/.github/workflows/pr_evaluation.yml index cf0e5e50..ac54e65c 100644 --- a/.github/workflows/pr_evaluation.yml +++ b/.github/workflows/pr_evaluation.yml @@ -139,7 +139,7 @@ jobs: if: steps.playwright-cache.outputs.cache-hit != 'true' - name: Install playwright dependencies - - run: npx playwright install-deps + run: npx playwright install-deps if: steps.playwright-cache.outputs.cache-hit == 'true' - name: Build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d7a8270b..0aef596e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: linters: name: Linting checks - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code diff --git a/package-lock.json b/package-lock.json index 780f7e69..911b558b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,6 +28,7 @@ "fast-glob": "^3.3.2", "globby": "^14.0.1", "husky": "^8.0.0", + "playwright": "^1.47.0", "prettier": "^2.8.8", "sinon": "^17.0.1", "tsup": "^8.0.2", @@ -4505,6 +4506,53 @@ "node": ">=16" } }, + "node_modules/@playwright/test/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/@playwright/test/node_modules/playwright": { + "version": "1.43.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz", + "integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.43.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/@playwright/test/node_modules/playwright-core": { + "version": "1.43.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz", + "integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@popperjs/core": { "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", @@ -19075,33 +19123,35 @@ } }, "node_modules/playwright": { - "version": "1.43.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz", - "integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==", - "devOptional": true, + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.0.tgz", + "integrity": "sha512-jOWiRq2pdNAX/mwLiwFYnPHpEZ4rM+fRSQpRHwEwZlP2PUANvL3+aJOF/bvISMhFD30rqMxUB4RJx9aQbfh4Ww==", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.43.1" + "playwright-core": "1.47.0" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" } }, "node_modules/playwright-core": { - "version": "1.43.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz", - "integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==", - "devOptional": true, + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.0.tgz", + "integrity": "sha512-1DyHT8OqkcfCkYUD9zzUTfg7EfTd+6a8MkD/NWOvjo0u/SCNd5YmY/lJwFvUZOxJbWNds+ei7ic2+R/cRz/PDg==", + "dev": true, + "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/playwright/node_modules/fsevents": { diff --git a/package.json b/package.json index 5ba33c73..ed003bca 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "fast-glob": "^3.3.2", "globby": "^14.0.1", "husky": "^8.0.0", + "playwright": "^1.47.0", "prettier": "^2.8.8", "sinon": "^17.0.1", "tsup": "^8.0.2",