v1.0.28 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
name: KF SDK Publish | |
on: | |
release: | |
types: [created] | |
# Allows you to run this workflow manually from the Actions tab on GitHub. | |
workflow_dispatch: | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org/ | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2.1.0 | |
with: | |
version: latest | |
run_install: | | |
- args: [--filter=@kissflow/lowcode-client-sdk, --frozen-lockfile, --strict-peer-dependencies=false] | |
- name: git config | |
run: | | |
git config --global user.email "saravanan.10393@gmail.com" | |
git config --global user.name "sara" | |
- name: Run build | |
run: pnpm run build:sdk | |
# disabled automatic version pump as it is conflicting with internal versioning | |
# - name: pump package version | |
# run: pnpm version patch | |
- name: Publish package to npm | |
run: pnpm publish:sdk --no-git-checks | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |