Skip to content

Commit 90261d6

Browse files
committed
Publishing workflow changed for NPM trusted publishing, version v2.4.1
1 parent 8ea3271 commit 90261d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: '20.x'
1919
registry-url: 'https://registry.npmjs.org'
20+
- run: npm install -g npm@latest
2021
- run: npm ci
21-
- run: npm publish --provenance --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- run: npm run test
23+
- run: npm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsmx/secure-config-tool",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "Command-line tool for @tsmx/secure-config.",
55
"main": "secure-config-tool.js",
66
"author": "tsmx <[email protected]>",

0 commit comments

Comments
 (0)