Skip to content

Commit

Permalink
[wallet-ext] Build extension during CI (#4420)
Browse files Browse the repository at this point in the history
* Add capability to build zip

* 0.6.3

* Pack webextension during CI

* Try to upload single artifact

* Add PR

* Link directly to asset download

* Correctly identify suite

* Use non-flaky link

* Link to artifacts section

* Revert version
  • Loading branch information
Jordan-Mysten authored Sep 13, 2022
1 parent 4cfabfc commit fda813f
Show file tree
Hide file tree
Showing 4 changed files with 1,490 additions and 16 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/wallet-ext-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "16"
cache: 'pnpm'
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
Expand All @@ -39,3 +39,20 @@ jobs:
- name: Build
working-directory: ${{env.working-directory}}
run: pnpm build:prod
- name: Package
working-directory: ${{env.working-directory}}
run: pnpm pack:zip
- uses: actions/upload-artifact@v2
if: always()
with:
name: wallet-extension
path: wallet/web-ext-artifacts/*
if-no-files-found: error
retention-days: 7
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
with:
comment_includes: "💳 Wallet Extension"
message: |
💳 Wallet Extension has been built, you can download the packaged extension here: https://github.com/MystenLabs/sui/actions/runs/${{ github.run_id }}#artifacts
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit fda813f

Please sign in to comment.