Skip to content

feat(kadena-cli): add devnet commands to kadena-cli #1289

feat(kadena-cli): add devnet commands to kadena-cli

feat(kadena-cli): add devnet commands to kadena-cli #1289

name: Integration tests
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
integration-tests:
name: ${{ matrix.package }}
runs-on: ubuntu-latest
strategy:
matrix:
package: ['@kadena/client', '@kadena/client-utils']
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
services:
devnet:
image: kadena/devnet
options:
--memory 7g --cpus 2 --health-cmd "curl --verbose --fail
http://localhost:8080/info || exit 1"
ports:
- 8080:8080
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: run integration tests
run: pnpm run test:integration --filter ${{ matrix.package }}