Skip to content

Commit 5ef6596

Browse files
committed
chore: push commit to prod-qa-pipeline after successful npm package release
1 parent 9042079 commit 5ef6596

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,22 @@ jobs:
5050
run: ls -R
5151
- name: Release
5252
id: release-plugin
53-
uses: JS-DevTools/npm-publish@v2.2.0
53+
uses: JS-DevTools/npm-publish@v3
5454
with:
5555
token: "${{ secrets.NPM_TOKEN }}"
5656
access: public
5757
- name: get-npm-version
5858
id: package-version
5959
uses: martinbeentjes/npm-get-version-action@v1.3.1
60+
- uses: actions/checkout@v4
61+
if: ${{ steps.release-plugin.conclusion == 'success' }}
62+
with:
63+
ref: 'prod-qa-pipeline'
64+
- uses: EndBug/add-and-commit@v9
65+
if: ${{ steps.release-plugin.conclusion == 'success' }}
66+
with:
67+
message: "Released version ${{ steps.package-version.outputs.current-version }}"
68+
push: true
6069
- name: github-release
6170
id: github-release
6271
env:

0 commit comments

Comments
 (0)