ci: artifacts
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Source Code
|
- name: Checkout Source Code
|
||||||
@@ -17,4 +17,22 @@ jobs:
|
|||||||
run: npm i yarn -g
|
run: npm i yarn -g
|
||||||
- name: Yarn install (dev)
|
- name: Yarn install (dev)
|
||||||
shell: bash
|
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
|
||||||
Submodule
+1
Submodule owof-announcements added at 742132fbb0
Reference in New Issue
Block a user