From f9fce3eefe4fce1bd235d1e5b9fb1750ae2c8bdb Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Fri, 14 Nov 2025 16:53:20 +0000 Subject: [PATCH] fix: remove explicit registry from npm publish workflows --- .github/workflows/pr-validation.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/publish-prerelease.yml | 3 +-- .github/workflows/publish-release.yml | 3 +-- .github/workflows/stage.yml | 3 +-- package-lock.json | 8 ++++---- package.json | 2 +- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 4badd9a9..1f84bd28 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3dace7d9..da740afb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Install node ${{ matrix.node }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node }} cache: npm diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index bf9ebea7..1623396a 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -26,11 +26,10 @@ jobs: fetch-depth: 0 - name: Install node 20 - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: npm - registry-url: 'https://registry.npmjs.org' - name: Update npm run: npm install -g npm@11.5.1 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 1e6b67ba..253678fb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -30,11 +30,10 @@ jobs: fetch-depth: 0 - name: Install node 20 - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: npm - registry-url: 'https://registry.npmjs.org' - name: Update npm run: npm install -g npm@11.5.1 diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 2289c1c5..1b1352ac 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -37,11 +37,10 @@ jobs: fetch-depth: 0 - name: Install node 20 - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: npm - registry-url: 'https://registry.npmjs.org' - name: Update npm run: npm install -g npm@11.5.1 diff --git a/package-lock.json b/package-lock.json index af932268..5ef7b454 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@trustify-da/trustify-da-javascript-client", - "version": "0.2.4-ea.12", + "version": "0.2.4-ea.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@trustify-da/trustify-da-javascript-client", - "version": "0.2.4-ea.12", + "version": "0.2.4-ea.13", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.23.2", @@ -42,8 +42,8 @@ "which": "^5.0.0" }, "engines": { - "node": ">= 18.0.0", - "npm": ">= 9.0.0" + "node": ">= 20.0.0", + "npm": ">= 11.5.1" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index e9f52e2e..fb65925f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@trustify-da/trustify-da-javascript-client", - "version": "0.2.4-ea.12", + "version": "0.2.4-ea.13", "description": "Code-Ready Dependency Analytics JavaScript API.", "license": "Apache-2.0", "homepage": "https://github.com/guacsec/trustify-da-javascript-client#README.md",