feat: test improvements #273
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: [staging, mainnet] | |
pull_request: | |
jobs: | |
wiki_address_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Bun 1.1.13 | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.13 | |
- run: bun install --frozen-lockfile | |
- name: Run wikiCheck | |
run: bun run wikiCheck | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Bun 1.1.13 | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.13 | |
- run: bun install --frozen-lockfile | |
- name: Run tests | |
run: bun run test:parallel | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Bun 1.1.13 | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.13 | |
- run: bun install --frozen-lockfile | |
- name: Run deploy | |
run: bun run test:deploy | |
env: | |
BATCH_GATEWAY_URLS: '["https://universal-offchain-unwrapper.ens-cf.workers.dev/"]' |