diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84d47c9..54cb085 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,10 @@ on: push: branches: - develop - - release/* + - main + - release/* + paths: + - 'typescript/**' workflow_dispatch: jobs: diff --git a/release.config.js b/release.config.js index 2b98b00..e011d63 100644 --- a/release.config.js +++ b/release.config.js @@ -1,129 +1,3 @@ module.exports = { - branches: ['main', 'next'], - plugins: [ - [ - '@semantic-release/commit-analyzer', - { - preset: 'conventionalcommits', - releaseRules: [ - { - type: 'major', - release: 'major', - }, - { - type: 'refactor', - release: 'patch', - }, - { - type: 'docs', - scope: 'README', - release: 'patch', - }, - { - type: 'test', - release: 'patch', - }, - { - type: 'style', - release: 'patch', - }, - { - type: 'perf', - release: 'patch', - }, - { - type: 'ci', - release: 'patch', - }, - { - type: 'build', - release: 'patch', - }, - { - type: 'chore', - release: 'patch', - }, - { - type: 'no-release', - release: false, - }, - ], - parserOpts: { - noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'], - }, - }, - ], - [ - '@semantic-release/release-notes-generator', - { - preset: 'conventionalcommits', - parserOpts: { - noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'], - }, - writerOpts: { - commitsSort: ['subject', 'scope'], - }, - presetConfig: { - types: [ - { - type: 'major', - release: 'major', - }, - { - type: 'feat', - section: ':sparkles: Features', - hidden: false, - }, - { - type: 'fix', - section: ':bug: Fixes', - hidden: false, - }, - { - type: 'docs', - section: ':memo: Documentation', - hidden: false, - }, - { - type: 'style', - section: ':barber: Code-style', - hidden: false, - }, - { - type: 'refactor', - section: ':zap: Refactor', - hidden: false, - }, - { - type: 'perf', - section: ':fast_forward: Performance', - hidden: false, - }, - { - type: 'test', - section: ':white_check_mark: Tests', - hidden: false, - }, - { - type: 'ci', - section: ':repeat: CI', - hidden: false, - }, - { - type: 'chore', - section: ':repeat: Chore', - hidden: false, - }, - { - type: 'build', - section: ':wrench: Build', - hidden: false, - }, - ], - }, - }, - ], - '@semantic-release/npm', - '@semantic-release/github', - ], + extends: ['@radixdlt/semantic-release-config'], } diff --git a/typescript/package-lock.json b/typescript/package-lock.json index f2d4a2a..2ad472b 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "SEE LICENSE IN RADIX-SOFTWARE-EULA", "dependencies": { - "@radixdlt/babylon-gateway-api-sdk": "^1.2.0", + "@radixdlt/babylon-gateway-api-sdk": "^1.2.7", "@radixdlt/radix-engine-toolkit": "1.0.3", "elliptic": "^6.5.4", "neverthrow": "^6.0.0" @@ -3834,9 +3834,9 @@ } }, "node_modules/@radixdlt/babylon-gateway-api-sdk": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@radixdlt/babylon-gateway-api-sdk/-/babylon-gateway-api-sdk-1.2.0.tgz", - "integrity": "sha512-9pMSwNkbVN+0+y3+zcuUTOO9PGrTB7/tv0TFtRildg29YW94nR6jC9A+SLEy7ovUzPYOrjJfAv72oJOHXyfS9g==" + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@radixdlt/babylon-gateway-api-sdk/-/babylon-gateway-api-sdk-1.2.7.tgz", + "integrity": "sha512-nDTRwS6vtw4KOG2SH6JZp0L/Xm6REAm8MHdXvNa5thpPgoVxgjDBYcRSNteFdL0DFQTSHLWTTFT7XEGN+U8LUw==" }, "node_modules/@radixdlt/radix-engine-toolkit": { "version": "1.0.3", diff --git a/typescript/package.json b/typescript/package.json index cb8a072..bbac826 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -85,7 +85,7 @@ "vite-tsconfig-paths": "^4.2.0" }, "dependencies": { - "@radixdlt/babylon-gateway-api-sdk": "^1.2.0", + "@radixdlt/babylon-gateway-api-sdk": "^1.2.7", "@radixdlt/radix-engine-toolkit": "1.0.3", "elliptic": "^6.5.4", "neverthrow": "^6.0.0" @@ -94,4 +94,4 @@ "type": "git", "url": "https://github.com/radixdlt/rola.git" } -} +} \ No newline at end of file