ci: artifacts

This commit is contained in:
redglow
2026-06-22 08:46:01 +02:00
parent 742132fbb0
commit 96f28dbba4
2 changed files with 21 additions and 2 deletions
+20 -2
View File
@@ -7,7 +7,7 @@ on:
- main
jobs:
checkout:
build:
name: Build
steps:
- name: Checkout Source Code
@@ -17,4 +17,22 @@ jobs:
run: npm i yarn -g
- name: Yarn install (dev)
shell: bash
run: yarn install
run: yarn install
- name: Vite build
shell: bash
run: ./node_modules/.bin/vite build
- name: Yarn install (prod)
shell: bash
run: rm -rf node_modules && yarn install --production=true
- name: Publish artifacts
uses: actions/upload-artifact@v7
path: |
dist
index.html
node_modules
package.json
public
src
tsconfig.json
vite.config.json
yarn.lock