diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 46565757..e7741715 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -38,6 +38,10 @@ jobs: run: powershell.exe -NoProfile -ExecutionPolicy Bypass "& ${{github.workspace}}\hats_shell_ps.ps1" "cd ${{github.workspace}}\purple-hats;npm i fsevents@latest -f --save-optional" working-directory: ${{github.workspace}} + - name: Unhide .git folder (Windows) + shell: pwsh + run: attrib -s -h ${{github.workspace}}/purple-hats/.git + - name: Zip entire Purple Hats folder (Windows) shell: pwsh run: Compress-Archive -Path ${{github.workspace}}/* -DestinationPath purple-hats-portable-windows.zip @@ -63,7 +67,7 @@ jobs: uses: actions/checkout@v3 with: path: purple-hats - + - name: Install Node Modules for Mac0S run: | if [[ $(uname -m) == 'arm64' ]]; then diff --git a/package-lock.json b/package-lock.json index d7bd3143..3d35e65f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "inquirer": "^9.1.4", "jsdom": "^21.0.0", "mustache": "^4.2.0", + "playwright": "^1.27.1", "print-message": "^3.0.1", "puppeteer": "^19.5.2", "validator": "^13.7.0", @@ -6915,6 +6916,32 @@ "node": ">=8" } }, + "node_modules/playwright": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.27.1.tgz", + "integrity": "sha512-xXYZ7m36yTtC+oFgqH0eTgullGztKSRMb4yuwLPl8IYSmgBM88QiB+3IWb1mRIC9/NNwcgbG0RwtFlg+EAFQHQ==", + "hasInstallScript": true, + "dependencies": { + "playwright-core": "1.27.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/playwright-core": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.27.1.tgz", + "integrity": "sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==", + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -13694,6 +13721,19 @@ } } }, + "playwright": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.27.1.tgz", + "integrity": "sha512-xXYZ7m36yTtC+oFgqH0eTgullGztKSRMb4yuwLPl8IYSmgBM88QiB+3IWb1mRIC9/NNwcgbG0RwtFlg+EAFQHQ==", + "requires": { + "playwright-core": "1.27.1" + } + }, + "playwright-core": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.27.1.tgz", + "integrity": "sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==" + }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", diff --git a/package.json b/package.json index 24622245..1d9520b4 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "prettier": "^2.8.2" }, "overrides": { - "node-fetch": "^3.3.0" + "node-fetch": "^3.3.0", + "json5": "^2.2.3" }, "scripts": { "test": "node --experimental-vm-modules ./node_modules/.bin/jest"