Build Wallet App (nightly) #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Wallet App (nightly) | |
| on: | |
| schedule: | |
| # At 20:58 on every day-of-week from Monday through Friday | |
| - cron: "58 20 * * 1-5" | |
| workflow_dispatch: | |
| env: | |
| DEFAULT_NETWORK: ${{ secrets.WALLET_NIGHTLY_BUILD_DEFAULT_NETWORK }} | |
| IOTA_NETWORKS: ${{ secrets.WALLET_NIGHTLY_BUILD_IOTA_NETWORKS }} | |
| APPS_BACKEND: ${{ secrets.STAGING_APPS_BACKEND }} | |
| TAG_NAME: "${{ github.event.inputs.iota_branch || 'develop' }}" | |
| jobs: | |
| wallet-nightly-build: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Create artifact name | |
| shell: bash | |
| run: | | |
| export artifact_name="wallet-nightly-$(date -Idate)" | |
| echo "artifact_name=${artifact_name}" >> $GITHUB_ENV | |
| - name: Checking out | |
| uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: Install Nodejs | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: "24" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Chrome Wallet | |
| run: pnpm wallet build:nightly | |
| - name: Upload Chrome artifacts | |
| uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
| with: | |
| name: chrome-${{ env.artifact_name }} | |
| path: | | |
| ./apps/wallet/dist | |
| - name: Build Firefox Wallet | |
| run: pnpm wallet build:firefox:nightly | |
| - name: Upload Firefox artifacts | |
| uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
| with: | |
| name: firefox-${{ env.artifact_name }} | |
| path: | | |
| ./apps/wallet/dist |