Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wallet-ext] Build extension during CI #4420

Merged
merged 10 commits into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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