Skip to content

Commit 6eaa50d

Browse files
authored
Merge pull request #35 from newrelic/fix/npm-workflow
fix: npm latest releases workflow updated
2 parents 2a24ecd + f23a5d4 commit 6eaa50d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/use-shared-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ on:
77
branches:
88
- stable
99

10+
permissions:
11+
contents: write
12+
id-token: write
13+
1014
jobs:
1115
build-and-publish:
1216
if: github.event.pull_request.merged == true
1317
uses: newrelic/video-core-js/.github/workflows/npm-publish.yml@stable
1418
with:
15-
node-version: 'lts/*'
1619
s3-path: 'media-agents/browser/html5'
1720
file-to-upload: 'dist/umd/newrelic-video-html5.min.js'
1821
secrets:
19-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2022
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2123
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)