Update build.yml
This commit is contained in:
parent
04e6e2c382
commit
adc716f67b
|
@ -74,3 +74,30 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution
|
||||||
path: distribution/**/*
|
path: distribution/**/*
|
||||||
|
|
||||||
|
build_frontend:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Volta
|
||||||
|
uses: volta-cli/action@v4
|
||||||
|
|
||||||
|
- name: Yarn Intsall
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: yarn lint
|
||||||
|
|
||||||
|
- name: Stylelint
|
||||||
|
run: yarn stylelint
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: yarn build --env production
|
||||||
|
|
||||||
|
- name: Publish UI Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ui
|
||||||
|
path: _output/UI/**/*
|
||||||
|
|
Loading…
Reference in New Issue