From 8eece31cba0db12416df9420bd0ec36c78fee553 Mon Sep 17 00:00:00 2001 From: Aleem Isiaka Date: Fri, 19 Jan 2024 23:47:25 +0100 Subject: [PATCH] deploy to npm Signed-off-by: Aleem Isiaka --- .github/workflows/main.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87af964..8eb465f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,9 @@ jobs: - name: Build run: yarn build && yarn build-storybook + - uses: JS-DevTools/npm-publish@v2 + with: + token: ${{ secrets.NPM_TOKEN }} - name: Deploy storybook 🚀 uses: JamesIves/github-pages-deploy-action@v4 diff --git a/package.json b/package.json index 2432a35..9a73313 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-here-map", - "version": "3.1.0-0", + "version": "4.0.0", "description": "React components for working with Here Maps API", "main": "dist/index.js", "typings": "dist/index.d.ts",