diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 768707e..5fefa5c 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -42,29 +42,29 @@ jobs: git tag --force $TAG_NAME git push --force origin $TAG_NAME -# publish: -# needs: bump-version -# runs-on: ubuntu-latest -# steps: -# - name: Check out repository code -# uses: actions/checkout@v4 -# with: -# ref: master -# fetch-depth: 0 -# - name: Set up Node -# uses: actions/setup-node@v2 -# with: -# node-version: '16.x' -# registry-url: 'https://registry.npmjs.org' -# - name: Install dependencies -# run: npm install -# - name: Publish package -# run: npm publish -# env: -# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + publish: + needs: bump-version + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + with: + ref: master + fetch-depth: 0 + - name: Set up Node + uses: actions/setup-node@v2 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies + run: npm install + - name: Publish package + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} publish-to-private-registry: - needs: bump-version + needs: publish runs-on: ubuntu-latest steps: - name: Check out repository code @@ -85,6 +85,7 @@ jobs: node-version: '16.x' registry-url: 'https://gitlab.com/api/v4/projects/20565764/packages/npm/' - name: Publish package - run: npm publish --tag beta + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITLAB_NPM_REG_TOKEN }} + SKIP_POSTVERSION: true diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 70c14fd..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -### Changelog - -All notable changes to this project will be documented in this file. Dates are displayed in UTC. - -#### [v2.1.0](https://github.com/fireblocks/ts-sdk/compare/v2.0.0...v2.1.0) - -> 4 June 2024 - -- Generated SDK for version COR-46191/fix_pipelines [`#44`](https://github.com/fireblocks/ts-sdk/pull/44) - -### [v2.0.0](https://github.com/fireblocks/ts-sdk/compare/v1.1.0...v2.0.0) - -> 8 May 2024 - -- feat: add tokenization api [`#35`](https://github.com/fireblocks/ts-sdk/pull/35) - -#### [v1.1.0](https://github.com/fireblocks/ts-sdk/compare/v1.0.1...v1.1.0) - -> 17 April 2024 - -- feat: adding consigners beta api [`#34`](https://github.com/fireblocks/ts-sdk/pull/34) -- fix: modify error message when secretKey missing and fix readme doc [`#33`](https://github.com/fireblocks/ts-sdk/pull/33) - -#### [v1.0.1](https://github.com/fireblocks/ts-sdk/compare/v1.0.0...v1.0.1) - -> 7 April 2024 - -- Generated SDK for version v1.0.1 [`#32`](https://github.com/fireblocks/ts-sdk/pull/32) - -### [v1.0.0](https://github.com/fireblocks/ts-sdk/compare/v0.0.1-experimental...v1.0.0) - -> 7 April 2024 - -- Generated SDK for version v1.0.0 GA [`#31`](https://github.com/fireblocks/ts-sdk/pull/31) -- add_license [`#30`](https://github.com/fireblocks/ts-sdk/pull/30) -- version_3_0_6_beta [`#29`](https://github.com/fireblocks/ts-sdk/pull/29) -- version_3_0_5_beta [`#27`](https://github.com/fireblocks/ts-sdk/pull/27) -- Version 3.0.4-beta [`#26`](https://github.com/fireblocks/ts-sdk/pull/26) -- Fireblocks api spec/generated/9818 [`#25`](https://github.com/fireblocks/ts-sdk/pull/25) -- Generated SDK for version 9817 [`#24`](https://github.com/fireblocks/ts-sdk/pull/24) -- Generated SDK for version master [`#23`](https://github.com/fireblocks/ts-sdk/pull/23) -- Added Idempotency & NCW headers support [`#22`](https://github.com/fireblocks/ts-sdk/pull/22) -- API SDK Improvments [`#21`](https://github.com/fireblocks/ts-sdk/pull/21) -- Update README.md [`#18`](https://github.com/fireblocks/ts-sdk/pull/18) -- Update README.md [`#17`](https://github.com/fireblocks/ts-sdk/pull/17) - -#### v0.0.1-experimental - -> 27 June 2024 - -- Generated SDK #2589 [`#86`](https://github.com/fireblocks/ts-sdk/pull/86) diff --git a/package-lock.json b/package-lock.json index 0a117de..d96b90b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "0.0.1-experimental", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "0.0.1-experimental", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -1642,9 +1642,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.812", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.812.tgz", - "integrity": "sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg==", + "version": "1.4.815", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.815.tgz", + "integrity": "sha512-OvpTT2ItpOXJL7IGcYakRjHCt8L5GrrN/wHCQsRB4PQa1X9fe+X9oen245mIId7s14xvArCGSTIq644yPUKKLg==", "dev": true }, "node_modules/emittery": { diff --git a/package.json b/package.json index 5159cd0..863dcef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "0.0.1-experimental", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": {