From a9abad1a7dda2a2118e00dbdc1c713abc0f11c08 Mon Sep 17 00:00:00 2001 From: RAHEEL Date: Fri, 5 Jan 2024 17:06:27 +0500 Subject: [PATCH] test lowcoder-cli pipeline --- .github/workflows/publish-lowcoder-cli.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-lowcoder-cli.yml b/.github/workflows/publish-lowcoder-cli.yml index be7053ce8..6352abe5b 100644 --- a/.github/workflows/publish-lowcoder-cli.yml +++ b/.github/workflows/publish-lowcoder-cli.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Publish Lowcoder Comps +name: Publish Lowcoder CLI on: push: @@ -32,6 +32,13 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ + - name: Install dependencies + if: steps.check.outputs.changed == 'true' + uses: borales/actions-yarn@v4.2.0 + with: + cmd: install + dir: client/packages/lowcoder-comps + - name: Publish if: steps.check.outputs.changed == 'true' uses: borales/actions-yarn@v4.2.0