Files
solana-agent-kit/.github/workflows/build.yml
Arihant Bansal c5588a0b00 fix
2025-01-05 11:09:07 +05:30

29 lines
616 B
YAML

name: Typescript Client CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: pnpm-lock.json
- run: pnpm install
- run: pnpm run lint
- run: pnpm run build
# - run: pnpm run test # TODO: add mock env for testing