forked from ponder-sh/ponder
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 984 Bytes
/
utils.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Utils
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
test-get-logs:
name: Test getLotsRetryHelper
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
viem-version: ['1', '2']
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v3
with:
version: 9.10.0
- name: Install Node
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: latest
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- run: pnpm add -D -w viem@${{ matrix.viem-version }}
- name: Test
run: pnpm --filter utils test src/_test
env:
RPC_URL_ALCHEMY_1: ${{ secrets.RPC_URL_ALCHEMY_1 }}
RPC_URL_INFURA_1: ${{ secrets.RPC_URL_INFURA_1 }}
RPC_URL_QUICKNODE_1: ${{ secrets.RPC_URL_QUICKNODE_1 }}