Skip to content

Commit ff9173f

Browse files
committed
fix: release workflow
1 parent 402566a commit ff9173f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
1+
name: Release
2+
13
on:
24
push:
35
branches:
46
- main
5-
name: Release
7+
68
jobs:
79
release-please:
810
runs-on: ubuntu-latest
911
permissions:
1012
id-token: write
1113
contents: write
1214
pull-requests: write
15+
packages: write
16+
1317
steps:
1418
- uses: google-github-actions/release-please-action@v3
1519
id: release
1620
with:
1721
release-type: node
1822
package-name: '@storacha/elizaos-plugin'
23+
1924
- uses: actions/checkout@v4
2025
if: ${{ steps.release.outputs.release_created }}
26+
27+
- run: npm install
28+
if: ${{ steps.release.outputs.release_created }}
29+
2130
- run: npm publish --access=public --provenance
31+
if: ${{ steps.release.outputs.release_created }}
2232
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24-
if: ${{ steps.release.outputs.release_created }}
33+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}

0 commit comments

Comments
 (0)