Skip to content

fix: sdk release

fix: sdk release #9

Workflow file for this run

name: cd
on:
push:
branches: [ master ]
jobs:
sdk:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 20
- name: Prepare for SDK release
run: node .github/sdk.js
- name: Publish sdk tag to npm
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
tag: sdk
normal:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Publish latest tag to npm
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
tag: latest