ci: always build ui-default when not published (#393)

This commit is contained in:
汪心禾 Wang, Xinhe authored and GitHub committed 2022-07-31 22:44:03 +08:00
1 parent 931b7b391e
commit bab15a775b
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
.github/workflows/**
- name: Build And Lint
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
yarn build:ui:gulp
parallel --tty -j+0 yarn ::: lint:ci lint:ui:ci build build:ui:production:webpack test