Skip to content

chore: bump to newest sdk #234

chore: bump to newest sdk

chore: bump to newest sdk #234

name: TypeScript
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
SOLANA_CLI_VERSION: "2.3.11"
NODE_VERSION: "22"
jobs:
localnet-examples:
name: Localnet Examples (TypeScript)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup
with:
example: .
solana-cli-version: ${{ env.SOLANA_CLI_VERSION }}
photon-indexer: "true"
- name: Install dependencies (workspaces)
run: npm install
- name: Enforce latest Light SDK dependency spec
run: npm run ci:deps:light-sdk
- name: Start test validator
run: |
npx -y @lightprotocol/zk-compression-cli@beta test-validator &
for i in $(seq 1 60); do
curl -s http://127.0.0.1:8784/health && break
sleep 2
done
- name: Run localnet examples sweep
run: npm run ci:examples:localnet