Skip to content

Commit

Permalink
Run command in one line
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Jan 10, 2024
1 parent 9c495ec commit 6fc61f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/react-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/vue-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fc61f1

Please sign in to comment.