Skip to content

Test all tutorials

Test all tutorials #5

Workflow file for this run

name: Test all tutorials
run-name: Test all tutorials
on:
pull_request:
branches:
- master
env:
PRIVATE_KEY: "b6b15c8cb491557369f3c7d2c287b053eb229daa9c22138887752191c9520659"
CHAIN_RPC: "http://localhost:3347"
PARENT_CHAIN_RPC: "http://localhost:8547"
# Env variables for specific tutorials
L1_RPC: "http://localhost:8545"
TransferTo: "0x3f1Eae7D46d88F08fc2F8ed27FCb2AB183EB2d0E"
jobs:
test-all:
name: Test all tutorials
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main
- name: Set up the local node
# https://github.com/OffchainLabs/actions/blob/feat-simplify/run-nitro-test-node/action.yml
uses: OffchainLabs/actions/run-nitro-test-node@feat-simplify
with:
nitro-testnode-ref: release
args: --tokenbridge --l3node --l3-token-bridge
- name: Copy .env
run: cp ./.env-sample ./.env
- name: Test
run: yarn run testAll