Files
svgl/.github/workflows/build-app.yml
T
pheralb a488bd4c7a
📦 Build / 🛠️ Build app (push) Has been cancelled
🧑‍🚀 Check / 📦 SVGs Size (push) Has been cancelled
🧑‍🚀 Check / ⚙️ Linting (push) Has been cancelled
🛠️ Update workflows to use Eslint for linting and set `PUBLIC_SVGL_VERSION` env variable
2025-08-31 13:59:13 +01:00

39 lines
835 B
YAML

name: 📦 Build
on:
push:
branches:
- main
- dev
jobs:
build-app:
runs-on: ubuntu-latest
name: 🛠️ Build app
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build app
run: pnpm build
env:
PUBLIC_SVGL_VERSION: v5