Skip to content

Commit

Permalink
Merge pull request #113 from deriv-com/ako/create-release-tag-manually
Browse files Browse the repository at this point in the history
Ako/ to create the release tag manually
  • Loading branch information
shayan-deriv authored Mar 7, 2024
2 parents 4d5318b + cf88505 commit 236f942
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/publish_npm_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Release
on:
release:
types: [published]
push:
branches: [main]

permissions:
contents: read # for checkout
Expand All @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit 236f942

Please sign in to comment.