From e4ce1243264db40491f6ab02d902aa8893b05236 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Tue, 31 Mar 2026 14:50:16 -0700 Subject: [PATCH] remove playwright-report --- .gitignore | 1 + playwright-report/index.html | 85 ------------------------------------ scripts/get-git-commit.js | 8 ++++ 3 files changed, 9 insertions(+), 85 deletions(-) delete mode 100644 playwright-report/index.html create mode 100644 scripts/get-git-commit.js diff --git a/.gitignore b/.gitignore index cb47470..1a46362 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ next-env.d.ts *.db-journal prisma/dev.db* prisma/prisma/dev.db* +playwright-report/ diff --git a/playwright-report/index.html b/playwright-report/index.html deleted file mode 100644 index 0e61da8..0000000 --- a/playwright-report/index.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - Playwright Test Report - - - - -
- - - \ No newline at end of file diff --git a/scripts/get-git-commit.js b/scripts/get-git-commit.js new file mode 100644 index 0000000..d59413b --- /dev/null +++ b/scripts/get-git-commit.js @@ -0,0 +1,8 @@ +const { execSync } = require('child_process'); + +try { + const commitHash = execSync('git rev-parse --short HEAD').toString().trim(); + console.log(commitHash); +} catch (error) { + console.log('unknown'); +}