Skip to content

Commit

Permalink
fix all build upload to include package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Nov 21, 2023
1 parent 48dfa52 commit 42c9c3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ jobs:
uses: actions/download-artifact@v3
with:
name: build-redirects
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
with:
name: build-all
path: .
- name: Set up GitHub NPM registry
uses: actions/setup-node@v3
with:
Expand All @@ -290,6 +285,11 @@ jobs:
- name: Create Package.json
run: |
jq -n --arg version ${{ needs.token-bridge.outputs.pkg-version }} '{"name": "@xlabs/portal-bridge-ui", "version": $version }' > package.json
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
with:
name: build-all
path: .
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 42c9c3a

Please sign in to comment.