Skip to content

Upstream Contract

Upstream Contract #622

name: Upstream Contract
on:
schedule:
- cron: "17 * * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: upstream-contract-${{ github.ref }}
cancel-in-progress: true
jobs:
contract:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci
- name: Run live upstream contract
env:
GITHUB_TOKEN: ${{ github.token }}
RUN_LIVE_UPSTREAM_CONTRACTS: "true"
run: npm run test:upstream-contract