Skip to content

Commit

Permalink
Add GH_TOKEN to release job (#2292)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock authored Jun 20, 2024
1 parent 7b255be commit db91174
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
branch:
description: 'Git branch to build and publish'
description: "Git branch to build and publish"
required: true
jobs:
build:
Expand All @@ -17,8 +17,8 @@ jobs:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm
- run: npm install
- run: npm test
Expand All @@ -34,3 +34,4 @@ jobs:
"v$version"
env:
BRANCH_NAME: ${{ github.event.inputs.branch }}
GH_TOKEN: ${{ github.token }}

0 comments on commit db91174

Please sign in to comment.