From d148e0bab55d7f196bbd8442b388b77d46c344db Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 7 Mar 2024 17:25:47 +0800 Subject: [PATCH 1/2] ci: to create the release tag manually --- .github/workflows/publish_npm_package.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish_npm_package.yml b/.github/workflows/publish_npm_package.yml index 1101685d..e0773dd3 100644 --- a/.github/workflows/publish_npm_package.yml +++ b/.github/workflows/publish_npm_package.yml @@ -2,8 +2,6 @@ name: Release on: release: types: [published] - push: - branches: [main] permissions: contents: read # for checkout @@ -23,7 +21,6 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - token: ${{ secrets.CI_GITHUB_TOKEN }} - name: Setup Node.js uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: @@ -34,12 +31,8 @@ jobs: run: npm clean-install - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies run: npm audit signatures - - name: Prepublish - run: npm run prepublish - - name: Release - if: success() + - name: Publish + run: npm publish --access public env: - CI: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN}} - run: npx semantic-release + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + shell: bash From cf88505a6a50e289699992924cb12834b1c34160 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 7 Mar 2024 17:28:28 +0800 Subject: [PATCH 2/2] build: update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b38bd59a..e86a347d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@deriv-com/ui", "private": false, - "version": "1.10.4", + "version": "1.10.5", "type": "module", "main": "dist/main.js", "files": [