mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ci: always build ui-default when not published (#393)
This commit is contained in:
1 parent
931b7b391e
commit
bab15a775b
1 file changed
+1
-1
@@ -55,7 +55,7 @@ jobs:
|
|||||||
.github/workflows/**
|
.github/workflows/**
|
||||||
- name: Build And Lint
|
- name: Build And Lint
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ steps.ui-changed-files.outputs.any_changed }} == true ]]
|
if [[ ${{ steps.ui-changed-files.outputs.any_changed }} == true ]] || [[ $(npm info @hydrooj/ui-default version) != $(node -e 'console.log(require("./packages/ui-default/package.json").version)') ]]
|
||||||
then
|
then
|
||||||
yarn build:ui:gulp
|
yarn build:ui:gulp
|
||||||
parallel --tty -j+0 yarn ::: lint:ci lint:ui:ci build build:ui:production:webpack test
|
parallel --tty -j+0 yarn ::: lint:ci lint:ui:ci build build:ui:production:webpack test
|
||||||
|
|||||||
Reference in new issue
Block a user