store: list CoinPay Wallet extension (#37) #226
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # pnpm version comes from the "packageManager" field in package.json. | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm lint | |
| # Build first: packages that import another workspace package (e.g. | |
| # @tronbrowser/sdk -> @tronbrowser/browser-core) resolve it via its built | |
| # dist, so typecheck/test need the dist present. pnpm builds in topological | |
| # order, so dependencies compile before their dependents. | |
| - name: Build | |
| run: pnpm build | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Test | |
| run: pnpm test | |
| # package + release jobs are stubbed until the Chromium build lands in CI. | |
| package: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - run: echo "package stub - implemented later" | |
| release: | |
| runs-on: ubuntu-latest | |
| needs: package | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| steps: | |
| - run: echo "release stub - implemented later" |