Skip to content

feat: rolling feed #538

feat: rolling feed

feat: rolling feed #538

Workflow file for this run

name: Tests (Bee RC)
on:
push:
branches:
- 'master'
- 'upcoming'
pull_request:
branches:
- '**'
# Called by the "Publish upcoming snapshot to npm" orchestrator on push to `upcoming`.
workflow_call:
jobs:
tests-bee-rc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
- name: Install local dependencies
run: npm ci
- name: Install global dependencies
run: npm install --global bee-dev @ethersphere/bee-factory @ethersphere/swarm-cli
- name: Run bee-dev
run: bee-dev --port 16337 &
- name: Start bee-factory
run: bee-factory start --tag v2.8.2-rc1
- name: Create managed postage batch
run: |
for i in 1 2 3; do
BATCH_ID=$(swarm-cli stamp buy --depth 20 --amount 1b --quiet) && break
echo "Postage stamp purchase timed out, retrying ($i/3)..."
done
echo "JEST_MANAGED_BATCH_ID=$BATCH_ID" >> $GITHUB_ENV
- name: Create external postage batch
run: |
for i in 1 2 3; do
BATCH_ID=$(swarm-cli stamp buy --depth 20 --amount 1b --quiet) && break
echo "Postage stamp purchase timed out, retrying ($i/3)..."
done
echo "JEST_EXTERNAL_BATCH_ID=$BATCH_ID" >> $GITHUB_ENV
- name: Tests
id: tests
env:
JEST_BEE_URL: http://localhost:1633
JEST_BEE_SIGNER: '8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba'
JEST_WITHDRAW_ADDRESS: '0xd238ff944bacb478cbed5efcae784d7bf4f2ff80'
run: npm test