diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c745d3b..8984141 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,10 @@ jobs: registry-url: https://registry.npmjs.org/ - name: Install all deps run: npm ci + - name: Publish to NPM + run: make publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2.7.0 with: @@ -37,4 +41,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.goreleaser.yml b/.goreleaser.yml index 474478f..a2925a6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -23,10 +23,10 @@ build: # --------------------------- # Publishers # --------------------------- -publishers: - - name: npm - cmd: make publish - dir: "." +# publishers: +# - name: npm +# cmd: make publish +# dir: "." # --------------------------- # Github Release diff --git a/lib/api-client.js b/lib/api-client.js index 90bf376..355e1f3 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -1,7 +1,7 @@ const axios = require('axios'); // .default (@mrz what does this affect?) // Current version for requests from the API -export const pkgVersion = 'v0.2.4'; +export const pkgVersion = 'v0.2.5'; export const apiVersion = 'v1'; // getOptions is a factory for axios default options diff --git a/package.json b/package.json index 4325e89..a7ab0e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tonicpow-js", - "version": "0.2.4", + "version": "0.2.5", "description": "TonicPow API Library in JS - https://docs.tonicpow.com", "main": "dist/api.js", "module": "./module/api.js",