Skip to content

Commit

Permalink
ci: skip repetitive parts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed Feb 29, 2024
1 parent e8f3429 commit 554a4bf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
- name: Test
run: npm test
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: build
path: dist
- name: Publish
if: ${{ !contains( github.ref, '-rc' ) }}
run: npm publish
Expand Down

0 comments on commit 554a4bf

Please sign in to comment.