From b1a9485be251173077189fc9a62cd982b8e69f43 Mon Sep 17 00:00:00 2001 From: Pat Sissons Date: Mon, 13 Jan 2025 14:40:59 -0800 Subject: [PATCH] bumping package version to verify new npm token --- .github/workflows/pr.workflow.yml | 6 ++++++ .github/workflows/release.workflow.yml | 2 -- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.workflow.yml b/.github/workflows/pr.workflow.yml index babba9e..2174602 100644 --- a/.github/workflows/pr.workflow.yml +++ b/.github/workflows/pr.workflow.yml @@ -14,7 +14,13 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies uses: ./.github/actions/install-dependencies + with: + npm-token: ${{ secrets.NPM_TOKEN }} - run: npm test env: TZ: "America/Los_Angeles" SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }} + # if whoami is failing, the current token has likely expired and a new token needs to be created + # create a new granular token with read/write access to expire in 1 year at https://www.npmjs.com/settings/blvd-it/tokens/ + - name: Verify npm token auth + run: npm whoami > /dev/null diff --git a/.github/workflows/release.workflow.yml b/.github/workflows/release.workflow.yml index 3b2e839..4be40ae 100644 --- a/.github/workflows/release.workflow.yml +++ b/.github/workflows/release.workflow.yml @@ -26,6 +26,4 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false - run: npm run build - # if publish is failing, the current token has likely expired and a new token needs to be created - # create a new granular token with read/write access to expire in 1 year at https://www.npmjs.com/settings/blvd-it/tokens/ - run: npm publish --access public diff --git a/package.json b/package.json index 0ec891b..c19cde5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boulevard/blvd-book-sdk", - "version": "2.0.7", + "version": "2.0.8", "description": "A JS client for the Boulevard API", "main": "lib/blvd.js", "typings": "lib/blvd.js",