From d3044dd3fa2cf2c521b213c77b5aa0fcc02635f8 Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Wed, 10 Aug 2022 15:36:30 +0300 Subject: [PATCH] chore: add install cli to publish actions --- .github/workflows/publish-cli.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index 7827253d..8b91be9e 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -21,7 +21,7 @@ jobs: restore-keys: | npm-${{ hashFiles('package-lock.json') }} npm- - - run: npm ci + - run: npm ci && npm ci --prefix cli - run: npm run bundle - name: Store bundle artifact uses: actions/upload-artifact@v3 @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: npm ci + - run: npm ci && npm ci --prefix cli - name: Download bundled artifact uses: actions/download-artifact@v3 with: @@ -65,7 +65,7 @@ jobs: npm-${{ hashFiles('package-lock.json') }} npm- - name: Install dependencies - run: npm ci + run: npm ci && npm ci --prefix cli - name: Bundle run: npm run compile:cli - name: Store bundle artifact diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a31778b8..b75605bd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: restore-keys: | npm-${{ hashFiles('package-lock.json') }} npm- - - run: npm ci + - run: npm ci && npm ci --prefix cli - run: npm run bundle - name: Store bundle artifact uses: actions/upload-artifact@v3 @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: npm ci + - run: npm ci npm ci --prefix cli - name: Download bundled artifact uses: actions/download-artifact@v3 with: