Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/build-static-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ jobs:
- name: Build app
run: npm run build

- name: Verify gravity slider is present in bundle
shell: bash
run: |
shopt -s nullglob
files=(dist/assets/index-*.js)
if [ ${#files[@]} -eq 0 ]; then
echo "No built JS bundle found in dist/assets"
exit 1
fi
grep -n "Gravity" "${files[@]}"

- name: Prepare release artifact
run: |
rm -rf release
Expand Down