Skip to content

1.1.0 🌈

1.1.0 🌈 #1

Workflow file for this run

name: publish hibit-id-sdk package to npm
on:
release:
types: [ published ]
push:
branches:
- npm-release
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://npm.pkg.github.com
cache: yarn
- run: |
rm .npmrc
npm config set ${REGISTRY}:_authToken ${{ secrets.NPM_PACKAGE_TOKEN }}
npm config set @delandlabs:registry https:${REGISTRY}
env:
REGISTRY: //registry.npmjs.org/
- run: |
Version=$(git describe --tags --abbrev=0)
echo Version: $Version
export VITE_RELEASE_VERSION=$Version
yarn install --frozen-lockfile
yarn build:sdk
yarn publish --frozen-lockfile --non-interactive --no-git-tag-version --no-commit-hooks --new-version ${Version} packages/sdk --access public