Skip to content

Commit 13821fe

Browse files
committed
fix(ci): correct release-please package name
1 parent ca6d6cb commit 13821fe

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.github/workflows/release-please.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,39 @@ on:
22
push:
33
branches:
44
- main
5+
56
name: release-please
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
612
jobs:
713
release-please:
814
runs-on: ubuntu-latest
915
steps:
10-
- uses: google-github-actions/release-please-action@v3
16+
- uses: googleapis/release-please-action@v4
1117
id: release
1218
with:
1319
release-type: node
14-
package-name: test-release-please
15-
# The logic below handles the npm publication:
16-
- uses: actions/checkout@v3
17-
# these if statements ensure that a publication only occurs when
18-
# a new release is created:
20+
package-name: "@0x/0x-parser"
21+
22+
- uses: actions/checkout@v4
23+
if: ${{ steps.release.outputs.release_created }}
24+
25+
- uses: actions/setup-node@v4
1926
if: ${{ steps.release.outputs.release_created }}
20-
- uses: actions/setup-node@v3
2127
with:
2228
node-version: 22
23-
registry-url: "https://registry.npmjs.org"
24-
if: ${{ steps.release.outputs.release_created }}
29+
registry-url: https://registry.npmjs.org
30+
2531
- run: npm ci
2632
if: ${{ steps.release.outputs.release_created }}
33+
2734
- run: npm run build
2835
if: ${{ steps.release.outputs.release_created }}
36+
2937
- run: npm publish --access public
30-
env:
31-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3238
if: ${{ steps.release.outputs.release_created }}
39+
env:
40+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)