Skip to content

Commit

Permalink
comment connect build in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Mar 6, 2024
1 parent 1dc53d6 commit d9298e4
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,16 @@ jobs:
repository: wormhole-foundation/wormhole-connect
ref: ${{inputs.connect-branch}}
path: wormhole-connect
- name: Build Wormhole Connect
id: wormhole-connect
run: |
npm install -g husky
pushd wormhole-connect
npm ci --workspaces --if-present
sed -i -e 's|vite build",|vite build --base=${{inputs.public-url}}/assets/wormhole-connect/",|g' wormhole-connect/package.json
npm run build
echo "_JS_SHA_384=$(shasum -b -a 384 wormhole-connect/dist/main.js | awk '{ print $1 }' | xxd -r -p | base64)" >> "${GITHUB_OUTPUT}"
echo "_CSS_SHA_384=$(shasum -b -a 384 wormhole-connect/dist/main.css | awk '{ print $1 }' | xxd -r -p | base64)" >> "${GITHUB_OUTPUT}"
# - name: Build Wormhole Connect
# id: wormhole-connect
# run: |
# npm install -g husky
# pushd wormhole-connect
# npm ci --workspaces --if-present
# sed -i -e 's|vite build",|vite build --base=${{inputs.public-url}}/assets/wormhole-connect/",|g' wormhole-connect/package.json
# npm run build
# echo "_JS_SHA_384=$(shasum -b -a 384 wormhole-connect/dist/main.js | awk '{ print $1 }' | xxd -r -p | base64)" >> "${GITHUB_OUTPUT}"
# echo "_CSS_SHA_384=$(shasum -b -a 384 wormhole-connect/dist/main.css | awk '{ print $1 }' | xxd -r -p | base64)" >> "${GITHUB_OUTPUT}"
- name: Checkout Custom Wormhole Connect Loader
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -354,7 +354,6 @@ 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
gzip -k -9 assets/wormhole-connect/main.js
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit d9298e4

Please sign in to comment.