Skip to content

Bump cross-spawn from 7.0.3 to 7.0.5 in /docs in the npm_and_yarn group across 1 directory #5678

Bump cross-spawn from 7.0.3 to 7.0.5 in /docs in the npm_and_yarn group across 1 directory

Bump cross-spawn from 7.0.3 to 7.0.5 in /docs in the npm_and_yarn group across 1 directory #5678

name: Sync First 100 Blocks Smoke Test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_smoke_tests:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: "juno,juno-smoke-tests"
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker image
run: docker build --build-arg VM_DEBUG=true -t nethermindeth/juno .
- name: Checkout Juno Smoke Tests
uses: actions/checkout@v4
with:
repository: NethermindEth/juno-smoke-tests
token: ${{ steps.generate-token.outputs.token }}
- name: Run smoke tests
run: |
cd smoke-tests/node_tests
go test -v -run TestMonitorNodeSync -args -targetBlock=$TARGET_BLOCK -timeout=$TIMEOUT
env:
TARGET_BLOCK: 100
TIMEOUT: 10m
JUNO_PARAMETERS: "--network mainnet --eth-node ${{ secrets.ETH_NODE_MAINNET }}"