Skip to content

add publish target node #34

add publish target node

add publish target node #34

Workflow file for this run

name: sdk-node
on:
push:
branches:
- main
paths:
- node/**
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
working-directory: node/
- name: Run tests
run: bun test
working-directory: node/
- name: Build
run: bun pack
working-directory: node/
# - name: Upload test results (optional)
# uses: actions/upload-artifact@v3
# with:
# name: test-results
# path: node/test-results/
# if-no-files-found: ignore