Merge pull request 'ci/add-gitea-action' (#1) from ci/add-gitea-action into main
Gitea Vite Build Action / Vite-Build (push) Successful in 29s Details

Reviewed-on: #1
This commit is contained in:
Sven Vogel 2024-10-24 18:04:43 +00:00
commit e97eb3e1ec
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: Gitea Vite Build Action
run-name: ${{ gitea.actor }} is performing vite build
on: [push]
jobs:
Vite-Build:
runs-on: ubuntu-latest
steps:
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- name: Install NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: NPM install
run: npm ci
- name: Vite build
run: npm run build