Skip to content

Commit

Permalink
chore: fix incorrect envvar usage in release workflows (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored Dec 12, 2024
1 parent 62fd6e8 commit 3ce6cba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-instrumentation-openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
node-version: 'v18.20.4'
registry-url: 'https://registry.npmjs.org'

- name: npm publish
working-directory: $PKGDIR
run: npm publish
- run: npm publish
working-directory: ${{ env.PKGDIR }}
env:
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-mockotlpserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
node-version: 'v18.20.4'
registry-url: 'https://registry.npmjs.org'

- name: npm publish
working-directory: $PKGDIR
run: npm publish
- run: npm publish
working-directory: ${{ env.PKGDIR }}
env:
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 3ce6cba

Please sign in to comment.