Skip to content

chore(deps-dev): bump @types/node from 22.0.0 to 22.1.0 in /sdk #521

chore(deps-dev): bump @types/node from 22.0.0 to 22.1.0 in /sdk

chore(deps-dev): bump @types/node from 22.0.0 to 22.1.0 in /sdk #521

Workflow file for this run

name: test
on: [pull_request]
env:
FOUNDRY_PROFILE: ci
jobs:
contracts:
name: Contracts
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run forge fmt
run: |
forge --version
forge fmt --check
id: fmt
- name: Run forge build
run: |
forge build --sizes --deny-warnings
id: build
- name: Run forge tests
run: |
forge test -vvv --deny-warnings
id: test
- name: Run forge docs
run: |
forge doc --out docs/docs/contracts
python3 docs/scripts/forge_doc_reformat.py
- name: Commit forge docs
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: Generate Foundry docs"
file_pattern: "./docs/"
sdk:
name: SDK
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./sdk
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
always-auth: true
- name: Install deps
run: npm ci
- name: Run tests
run: npm test