ci: artifacts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user