Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix : version upgraded in sdk git action file #96

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/publish.sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: KF SDK Publish
on:
release:
types: [created]

# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

Expand All @@ -22,27 +22,27 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/

- name: setup pnpm
uses: pnpm/action-setup@v2.1.0
with:
version: 7
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
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
run: pnpm publish:sdk --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}