Skip to content

SDK NPM Publish

SDK NPM Publish #20

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 run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}