From 6fc61f16b77d5b9baa84dd33d7f605eaa5c64b9f Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Wed, 10 Jan 2024 16:15:37 +0530 Subject: [PATCH] Run command in one line --- .github/workflows/react-publish.yml | 7 ++++--- .github/workflows/vue-publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/react-publish.yml b/.github/workflows/react-publish.yml index c11ab17..43f2a4c 100644 --- a/.github/workflows/react-publish.yml +++ b/.github/workflows/react-publish.yml @@ -14,9 +14,10 @@ jobs: with: node-version: "20.x" registry-url: "https://registry.npmjs.org" - - run: cd react - - run: npm ci - - run: npm run build + - run: | + cd react + npm ci + npm run build # Check if the version already exists on npm - name: Check Version Existence diff --git a/.github/workflows/vue-publish.yml b/.github/workflows/vue-publish.yml index 8c637ae..3f3f306 100644 --- a/.github/workflows/vue-publish.yml +++ b/.github/workflows/vue-publish.yml @@ -14,9 +14,10 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: cd vue - - run: npm ci - - run: npm run build + - run: | + cd vue + npm ci + npm run build # Check if the version already exists on npm - name: Check Version Existence