Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ jobs:
runs-on: ubuntu-latest
strategy: { matrix: { node: [18, 20, 22] } }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with: { node-version: "${{ matrix.node }}" }
- run: npm ci || npm install --no-audit --no-fund
- run: npm test
python:
runs-on: ubuntu-latest
strategy: { matrix: { python: ["3.9", "3.11", "3.13"] } }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with: { python-version: "${{ matrix.python }}" }
- run: pip install mypy==1.13.0 ./python
- run: cd python && mypy blockchainlab_sdk --ignore-missing-imports
- run: cd python && python -m unittest -v tests/test_live.py
types-in-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Regenerate types from the live JSON Schemas; fail if they drifted
run: python3 scripts/gen.py && git diff --stat --exit-code
install-from-github:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with: { node-version: 20 }
- name: npm install github:Blockchains/blockchainlab-sdk in a clean project
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with: { node-version: 20 }
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with: { python-version: "3.12" }
- run: npm install --no-audit --no-fund && npm run build
- run: cd ts && npm install --no-audit --no-fund && npm run build && npm pack
Expand Down
Loading