Skip to content

Fix race condition that caused some agreements to be created but not added to the pool #1555

Fix race condition that caused some agreements to be created but not added to the pool

Fix race condition that caused some agreements to be created but not added to the pool #1555

Workflow file for this run

name: Regular CI Pipeline
on:
pull_request:
branches:
# Regular release channels
- master
- next
- beta
- alpha
# Support, hotfix branches like: 1.0.x or 1.x
- '([0-9]+)(\.([0-9]+))?\.x'
# Allows triggering the workflow manually
workflow_dispatch:
jobs:
regular-checks:
name: Build and unit-test on supported platforms and NodeJS versions
strategy:
matrix:
# Make sure you're addressing it to the minor version, as sometimes macos was picking 20.9 while others 20.10
# and that caused issues with rollup
node-version: [22.x, 24.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Perform regular checks
run: |
npm ci
npm run format:check
npm run lint
npm run test:unit
npm run build
npm install --prefix examples
npm run --prefix examples lint:ts
npm run test:import