Skip to content

Commit

Permalink
chore: publish with npm provenance (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Dec 5, 2023
1 parent e2cfbf5 commit 55a64c6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,15 @@ jobs:
test-electron-renderer
]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
command: manifest
release-type: node
manifest-file: .release-please-manifest.json
Expand Down
1 change: 0 additions & 1 deletion .release-please.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"plugins": ["node-workspace"],
"group-pull-request-title-pattern": "chore: release ${component}",
"packages": {
"packages/helia": {},
"packages/interface": {},
Expand Down
4 changes: 4 additions & 0 deletions packages/helia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"bugs": {
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"IPFS"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"bugs": {
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"IPFS"
],
Expand Down
4 changes: 4 additions & 0 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"bugs": {
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"IPFS"
],
Expand Down

0 comments on commit 55a64c6

Please sign in to comment.