Skip to content

Commit 7d9c70f

Browse files
committed
checkout -> v5, minor tweaks to publish command
1 parent d4237bd commit 7d9c70f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ jobs:
1818

1919
steps:
2020
- name: Cloning repo
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- uses: actions/setup-node@v4
2424
with:
2525
node-version-file: .nvmrc
2626
registry-url: 'https://registry.npmjs.org' # required for trusted publishing
2727

28-
- run: npm i -g npm@latest
29-
3028
- run: npm i
3129
- run: npm run deploy

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"posttest": "yarn lint",
6464
"prepack": "yarn build && oclif manifest && oclif readme",
6565
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
66-
"deploy": "npm run build && npm publish --loglevel verbose",
66+
"deploy": "npm run build && npm publish --provenance --access public --loglevel verbose",
6767
"deploy:beta": "npm run build && npm publish",
6868
"version": "oclif readme && git add README.md"
6969
},

0 commit comments

Comments
 (0)