Skip to content

Commit

Permalink
fix(workflow): download bundle artifact into dist path to include it …
Browse files Browse the repository at this point in the history
…into package
  • Loading branch information
yassinedoghri committed Apr 30, 2022
1 parent e10979b commit 3fb5a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:

bundle:
runs-on: ubuntu-latest
needs: quality
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -33,14 +32,14 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: bundle
path: ./dist/
path: dist/
retention-days: 1
if-no-files-found: error

publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha'
needs: bundle
needs: [quality, bundle]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -51,6 +50,7 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: bundle
path: dist
- run: npm ci
- run: npm run semantic-release
env:
Expand Down

0 comments on commit 3fb5a78

Please sign in to comment.