Skip to content

Commit

Permalink
Merge pull request #33 from Boulevard/pat/fix-npm-token
Browse files Browse the repository at this point in the history
verify updated npm release token
  • Loading branch information
patsissons authored Jan 13, 2025
2 parents 9294c15 + b1a9485 commit a2cc6f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions .github/workflows/release.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit a2cc6f1

Please sign in to comment.