Skip to content

Commit

Permalink
Update to Node.js 20 and add npm package provenance (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingenito authored Nov 13, 2023
1 parent 44590fd commit f7139ec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

env:
NODE_VERSION: '16'
NODE_VERSION: '20'

steps:
- uses: actions/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/desktopjs-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/desktopjs-openfin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/desktopjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7139ec

Please sign in to comment.