We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5b121 commit 362560bCopy full SHA for 362560b
.github/workflows/build.yml
@@ -11,7 +11,7 @@ jobs:
11
node-version: 18
12
cache: 'npm'
13
- name: Get Commit Hash and generate Version File
14
- run: echo "$(git rev-parse --short HEAD)" >> public/hash.txt
+ run: echo "${{ github.event.pull_request.head.sha }}" >> public/hash.txt
15
- name: Run install
16
run: npm ci
17
- name: Build
.github/workflows/validate.yaml
@@ -82,6 +82,14 @@ jobs:
82
- uses: actions/setup-node@v3
83
with:
84
85
+ - name: Check for hash.txt file
86
+ run: |
87
+ if [ -f public/hash.txt ]; then
88
+ echo "File hash.txt exists."
89
+ else
90
+ echo "Error: hash.txt file is missing!"
91
+ exit 1
92
+ fi
93
94
95
- run: npx playwright install
0 commit comments