Compare commits

..

12 Commits

Author SHA1 Message Date
Kenan Alić
f1ad50a2af Post-release styling pass
All checks were successful
Build / build (push) Successful in 23s
2025-10-24 03:09:08 +02:00
Kenan Alić
172716d8f6 Version 1.0 squash 2025-10-24 03:09:08 +02:00
Kenan Alić
a5084d70ba Added build support for ci 2025-10-24 03:09:08 +02:00
Kenan Alić
97fb5175f6 Added format support for ci 2025-10-24 03:09:08 +02:00
Kenan Alić
a07020bea6 Added shadcn dashboard block 2025-10-24 03:09:08 +02:00
Kenan Alić
673a80485f Added shadcn 2025-10-24 02:53:18 +02:00
Kenan Alić
08e6b09d43 Added prettier-plugin-tailwindcss 2025-10-24 02:53:18 +02:00
Kenan Alić
68cea5d699 Added Tailwind CSS 2025-10-24 02:53:18 +02:00
Kenan Alić
23752a9c6c Added wouter for hash-based routing 2025-10-24 02:53:18 +02:00
Kenan Alić
18107b71ef Tidied Vite react-ts template 2025-10-24 02:53:18 +02:00
Kenan Alić
5daa488400 Added Vite react-ts template 2025-10-24 02:53:18 +02:00
Kenan Alić
f17d11bb35 Added license 2025-10-24 02:53:05 +02:00
3 changed files with 53 additions and 3 deletions

View File

@@ -0,0 +1,51 @@
name: Build
defaults:
run:
shell: sh
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- closed
jobs:
build:
if: gitea.event_name == 'push' || gitea.event.pull_request.merged == true
runs-on: lts-alpine
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install dependencies
run: apk add make jq pnpm
- name: Install packages
run: pnpm install --frozen-lockfile
working-directory: ./web
- name: Build web
run: make web-build
- name: Package web
run: |
set -e
# Create package directory
mkdir -p package
# Copy built files to package
cp -r ./web/dist package/
cp ./license package/
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: ./package/*
retention-days: 15

View File

@@ -23,15 +23,14 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install dependencies - name: Install dependencies
run: apk add pnpm run: apk add make jq pnpm
- name: Install packages - name: Install packages
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
working-directory: ./web working-directory: ./web
- name: Run prettier - name: Run prettier
run: pnpm exec prettier -w **/* run: make web-format
working-directory: ./web
- name: Commit formatting changes - name: Commit formatting changes
run: | run: |

View File