Skip to content

UI improvements for mobile view #3

UI improvements for mobile view

UI improvements for mobile view #3

Workflow file for this run

name: Build Project
# Trigger the workflow on pushes to the main branch
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the code from the repository
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.G_BUILD_TOKEN }}
# Step 2: Set up the Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '25.1.0'
cache: 'npm'
# Step 3: Install dependencies
- name: Install dependencies
run: npm ci
# Step 4: Run the build script
- name: Run Build
run: npm run build
# Step 5: Configure Git
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# Step 6: Commit and push dist folder
- name: Commit and Push dist folder
run: |
git add dist -f
git diff --staged --quiet || git commit -m "Auto-build: Update dist folder [skip ci]"
git push