Skip to content

Remove goerli and polygon mumbai deployments #491

Remove goerli and polygon mumbai deployments

Remove goerli and polygon mumbai deployments #491

Workflow file for this run

name: Verify Protocol Deployments
on:
pull_request:
branches:
- master
paths:
- 'packages/airnode-protocol/**'
- '!packages/airnode-protocol/package.json'
types: [opened, synchronize, reopened]
env:
DOCKER_BUILDKIT: 1
TARGET_NODE_VERSION: '18.19.1'
jobs:
pre-build:
name: Prepare build environment
runs-on: ubuntu-latest
steps:
- name: Clone airnode
uses: actions/checkout@v4
with:
# Required for changesets check. See: https://github.com/changesets/changesets/issues/517#issuecomment-813282523
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.TARGET_NODE_VERSION }}
cache: yarn
- name: Install Dependencies
run: yarn run bootstrap
- uses: actions/cache@v4
id: cache-pre-build
with:
path: ./*
key: pre-build-protocol-${{ github.sha }}
build:
name: Build Protocol
runs-on: ubuntu-latest
needs: pre-build
steps:
- uses: actions/cache@v4
id: cache-pre-build
with:
path: ./*
key: pre-build-protocol-${{ github.sha }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.TARGET_NODE_VERSION }}
cache: yarn
- name: Build
run: yarn run build:protocol
- uses: actions/cache@v4
id: cache-build
with:
path: ./*
key: build-protocol-${{ github.sha }}
verify-deployments:
name: verify deployments
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/cache@v4
id: restore-build
with:
path: ./*
key: build-protocol-${{ github.sha }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.TARGET_NODE_VERSION }}
cache: yarn
- run: yarn run test:protocol:verify-local
build-complete:
name: All tests passed
runs-on: ubuntu-latest
needs: [verify-deployments]
steps:
- run: exit 0