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'); +}