⚙️ Move build app workflow to a separate file
📦 Build / 🛠️ Build app (push) Has been cancelled
🧑‍🚀 Check / ⚡ Testing with Vitest (push) Has been cancelled
🧑‍🚀 Check / 📦 SVGs Size (push) Has been cancelled
🚀 Deploy / ☁️ API (push) Has been cancelled

This commit is contained in:
pheralb
2025-06-02 10:33:36 +01:00
parent 82197e7b65
commit da5fda8460
2 changed files with 31 additions and 21 deletions
+31
View File
@@ -0,0 +1,31 @@
name: 📦 Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-app:
runs-on: ubuntu-latest
name: 🛠️ Build app
steps:
- uses: actions/checkout@v4
- name: Setup pnpm 9
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Build app
run: pnpm vite:build
env:
UPSTASH_REDIS_TOKEN: ${{ secrets.UPSTASH_REDIS_TOKEN }}
UPSTASH_REDIS_URL: ${{ secrets.UPSTASH_REDIS_URL }}
SVGL_API_REQUESTS: ${{ secrets.SVGL_API_REQUESTS }}
-21
View File
@@ -46,24 +46,3 @@ jobs:
- name: Check svgs size
run: pnpm start
working-directory: ./utils/check-size
build-app:
runs-on: ubuntu-latest
name: 🛠️ Build app
steps:
- uses: actions/checkout@v4
- name: Setup pnpm 9
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Build app
run: pnpm vite:build
env:
UPSTASH_REDIS_TOKEN: ${{ secrets.UPSTASH_REDIS_TOKEN }}
UPSTASH_REDIS_URL: ${{ secrets.UPSTASH_REDIS_URL }}
SVGL_API_REQUESTS: ${{ secrets.SVGL_API_REQUESTS }}