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

pull/394/head
汪心禾 Wang, Xinhe 2 years ago committed by GitHub
parent 931b7b391e
commit bab15a775b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save