react native example: add wallet connect example #4162
Workflow file for this run
This file contains 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, develop] | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
install: | |
name: Install Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- name: Set swap space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 8 | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- name: Run tests | |
run: pnpm test | |
env: | |
TESTING_ENV_URL: ${{secrets.TESTING_ENV_URL}} | |
TESTING_NO_RATE_LIMIT: ${{secrets.TESTING_NO_RATE_LIMIT}} | |
TESTING_WHITELISTED: ${{secrets.TESTING_WHITELISTED}} | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [install, lint, test] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm build | |
examples: | |
name: Verify Examples | |
runs-on: ubuntu-latest | |
needs: [install, lint, test] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint:examples |