diff --git a/.github/scripts/update-playwright.js b/.github/scripts/update-playwright.js index e3f15b93462..4e66153823a 100644 --- a/.github/scripts/update-playwright.js +++ b/.github/scripts/update-playwright.js @@ -31,7 +31,7 @@ const updatePlaywright = () => { { from: `oldPlaywrightVersion = '${oldPlaywrightVersion}'`, to: `oldPlaywrightVersion = '${version}'`, - files: ['scripts/update-playwright.js'] + files: ['.github/scripts/update-playwright.js'] } ]; @@ -41,5 +41,4 @@ const updatePlaywright = () => { return 'Success'; }; - -updatePlaywright(); +export default updatePlaywright;