Skip to content

test commit for ci test pr #1

test commit for ci test pr

test commit for ci test pr #1

Workflow file for this run

name: Beanstalk Subgraph
on:
pull_request:
types: [opened, synchronize]
paths:
- "src/subgraphs/beanstalk/**"
- "src/core/**"
jobs:
compile:
runs-on: ubuntu-latest
name: Compile
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Cache Node Modules
id: node-modules-cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install The Graph CLI
run: npm install -g @graphprotocol/graph-cli
- name: Install Dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Generate Subgraph Code
run: npm run codegen beanstalk
- name: Build Subgraph
run: npm run build beanstalk arbitrum
test:
runs-on: ubuntu-latest
name: Test
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Cache Node Modules
id: node-modules-cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install The Graph CLI
run: npm install -g @graphprotocol/graph-cli
- name: Install Dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Generate Subgraph Code
run: npm run codegen beanstalk
- name: Run Tests
run: npm run test beanstalk