-
Notifications
You must be signed in to change notification settings - Fork 96
38 lines (38 loc) · 1.04 KB
/
node.js.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
name: Build
on: push
jobs:
build:
runs-on:
group: larger
env:
ALCHEMY_KEY: '${{secrets.ALCHEMY_KEY}}'
ETH_RPC_URL: 'https://eth-mainnet.g.alchemy.com/v2/${{secrets.ALCHEMY_KEY}}'
RPC_MAINNET: 'https://eth-mainnet.g.alchemy.com/v2/${{secrets.ALCHEMY_KEY}}'
RPC_ARBITRUM: 'https://arb-mainnet.g.alchemy.com/v2/${{secrets.ALCHEMY_KEY}}'
strategy:
matrix:
node-version:
- 16.x
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x.x
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Dependencies
run: npm ci
- name: Compilation
run: 'npm run compile'
- name: Lint check
run: 'npm run prettier:check'
- name: Test
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: 'npm run test'