Skip to content
Merged
Changes from all 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
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
fetch-depth: 0
- name: Set up Git
run: |
git config user.email "actions@clickhouse.com"
git config user.name "GitHub Actions"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump package version (for version inputs)
if: ${{ env.IS_VERSION_INPUT == 'true' }}
run: |
Expand All @@ -78,8 +78,14 @@ jobs:
npm pkg set version=$NEW_VERSION --no-git-tag-version
- uses: actions/setup-node@v6
with:
node-version: '23.x' # Node 22 includes npm >= 11.5.1 with OIDC support
node-version: '23.x'
# registry-url is required for OIDC trusted publishing. Avoid `npm install -g npm@latest`
# on hosted runners — it can leave npm broken (e.g. MODULE_NOT_FOUND / promise-retry).
Comment thread
hoorayimhelping marked this conversation as resolved.
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm for OIDC support
run: |
npm install -g npm@latest
echo "npm version: $(npm --version)"
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
Expand Down
Loading