Skip to content

Commit add74c1

Browse files
committed
ci: replace GitHub markdown before publish to NPM
1 parent ccef477 commit add74c1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release-please.yml

+9
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,26 @@ jobs:
1717
id: release
1818
with:
1919
release-type: node
20+
2021
- uses: actions/checkout@v4
2122
if: ${{ steps.release.outputs.release_created }}
23+
2224
- uses: actions/setup-node@v4
2325
with:
2426
node-version: 22
2527
registry-url: 'https://registry.npmjs.org'
2628
if: ${{ steps.release.outputs.release_created }}
29+
2730
- run: npm ci
2831
if: ${{ steps.release.outputs.release_created }}
32+
2933
- run: npm run build
3034
if: ${{ steps.release.outputs.release_created }}
35+
36+
- name: Replace GitHub-specific markdown
37+
run: |
38+
sed -i 's/\[!IMPORTANT\]/### Important 💡/g' README.md
39+
3140
- name: Publish to NPM
3241
run: npm publish
3342
env:

0 commit comments

Comments
 (0)