Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
npm-publish:
name: Publish to NPM & GitHub Package Registry
runs-on: ubuntu-latest
# Required for this workflow to have permission to publish NPM packages
environment: release
permissions:
contents: read
packages: write
# id-token: write required for get-vault-secrets and trusted publishing
# id-token: write required for npm trusted publishing
id-token: write
outputs:
new_version: ${{ steps.version_check.outputs.version }}
Expand Down Expand Up @@ -47,6 +49,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Install npm version ^11.5.1 # npm trusted publishing requires version ^11.5.1
if: steps.version_check.outputs.changed == 'true'
run: npm install -g npm@^11.5.1

- name: Install dependencies
Expand Down