Skip to content

Merge pull request #2 from d2kole/claude/improve-mobile-sidebar-ux-LUYfm #4

Merge pull request #2 from d2kole/claude/improve-mobile-sidebar-ux-LUYfm

Merge pull request #2 from d2kole/claude/improve-mobile-sidebar-ux-LUYfm #4

Workflow file for this run

name: Build
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Verify dist is up-to-date
run: |
if [[ -n $(git status dist/ --porcelain) ]]; then
echo "::error::dist/ is out of date. Please run 'npm run build' and commit the changes."
echo ""
echo "Files that differ:"
git status dist/ --porcelain
echo ""
echo "Diff:"
git diff dist/
exit 1
else
echo "dist/ is up-to-date"
fi
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 7