diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4358224c..4e7c34aa 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest env: - NODE_VERSION: '16' + NODE_VERSION: '20' steps: - uses: actions/checkout@v4.1.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3559ddb..1ddccb62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,14 @@ on: permissions: contents: write + id-token: write jobs: build: runs-on: ubuntu-latest env: - NODE_VERSION: '16' + NODE_VERSION: '20' steps: - name: Checkout diff --git a/packages/desktopjs-electron/package.json b/packages/desktopjs-electron/package.json index 62989d7c..55ebd982 100644 --- a/packages/desktopjs-electron/package.json +++ b/packages/desktopjs-electron/package.json @@ -31,7 +31,7 @@ "build:workspaces": "gulp build:workspaces", "build": "gulp build", "test": "gulp test", - "deploy": "npm publish" + "deploy": "npm publish --provenance --access public" }, "homepage": "https://github.com/MorganStanley/desktopJS/tree/main#readme", "devDependencies": { diff --git a/packages/desktopjs-openfin/package.json b/packages/desktopjs-openfin/package.json index 0919d2f6..a2b04ba5 100644 --- a/packages/desktopjs-openfin/package.json +++ b/packages/desktopjs-openfin/package.json @@ -32,7 +32,7 @@ "build:workspaces": "gulp build:workspaces", "build": "gulp build", "test": "gulp test", - "deploy": "npm publish" + "deploy": "npm publish --provenance --access public" }, "homepage": "https://github.com/MorganStanley/desktopJS/tree/main#readme", "devDependencies": { diff --git a/packages/desktopjs/package.json b/packages/desktopjs/package.json index 01c754f8..83b3b3f0 100644 --- a/packages/desktopjs/package.json +++ b/packages/desktopjs/package.json @@ -33,7 +33,7 @@ "build:workspaces": "gulp build:workspaces", "build": "gulp build", "test": "gulp test", - "deploy": "npm publish", + "deploy": "npm publish --provenance --access public", "prepublishOnly": "copyfiles ../../README.md . -u 2" }, "homepage": "https://github.com/MorganStanley/desktopJS#readme"