From 89fd14d262c62bc707c3de9bfc3cf6a989fcbdaa Mon Sep 17 00:00:00 2001 From: Fred78290 Date: Fri, 1 Sep 2023 16:06:29 +0200 Subject: [PATCH] FIX: CI --- .github/workflows/npm.publish.yml | 2 +- Readme.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm.publish.yml b/.github/workflows/npm.publish.yml index 6d87dff..36e5601 100644 --- a/.github/workflows/npm.publish.yml +++ b/.github/workflows/npm.publish.yml @@ -27,7 +27,7 @@ jobs: # upgrade npm version in package.json to the tag used in the release. - run: | TAG=${GITHUB_REF#refs/tags/v} - npm version ${TAG} + npm version --allow-same-version --no-git-tag-version ${TAG} # build the project - run: npm run build # publish to NPM diff --git a/Readme.md b/Readme.md index 1a0dcbc..8661a24 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,7 @@ # ApiCore API [![NodeJS Lint, Build and Test](https://github.com/Fred78290/afp-apicore-sdk/actions/workflows/nodejs.lint-build-test.yml/badge.svg?branch=main)](https://github.com/Fred78290/afp-apicore-sdk/actions/workflows/nodejs.lint-build-test.yml) +[![NPM publish CD workflow](https://github.com/Fred78290/afp-apicore-sdk/actions/workflows/npm.publish.yml/badge.svg?branch=main)](https://github.com/Fred78290/afp-apicore-sdk/actions/workflows/npm.publish.yml) This project is aimed to help javascript developers use the [AFP API ApiCore](https://afp-apicore-prod.afp.com/).