Skip to content

Report Timelock Depositor Cron #289

Report Timelock Depositor Cron

Report Timelock Depositor Cron #289

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Report Timelock Depositor Cron
on:
schedule:
- cron: "0 17 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: SOV-3971-lp-to-bob
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- uses: actions/checkout@v2
with:
ref: SOV-3971-lp-to-bob
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Installing Packages
run: npm ci --parallel=1
- name: Run Report Timelock Depositor
run: npx hardhat run scripts/reportBobTimelockExecutor.js --network ethMainnet
env:
SAFE_DEPOSITS_SENDER: ${{secrets.SAFE_DEPOSITS_SENDER}}