Skip to content

chore: add npm publish for the SDK #8

chore: add npm publish for the SDK

chore: add npm publish for the SDK #8

Workflow file for this run

---
name: SDK NPM Publish
on:
push:
tags:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./sdk
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v3
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
always-auth: true
- run: npm ci
- run: npm test
continue-on-error: true
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}