Skip to content

Commit f28c1f1

Browse files
committed
add jellyfish step
1 parent 8f84f71 commit f28c1f1

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
@@ -52,9 +52,18 @@ jobs:
5252
echo "npm-tag=v$(echo $VERSION | awk -F. '{print $1}')" >> "$GITHUB_OUTPUT"
5353
fi
5454
55-
- name: test, build and publish to npm
55+
- id: release
56+
name: test, build and publish to npm
5657
env:
5758
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
5859
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
5960
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
6061
run: npm publish --tag=${{ steps.npm-tag.outputs['npm-tag'] }}
62+
63+
- name: Report results to Jellyfish
64+
uses: optimizely/jellyfish-deployment-reporter-action@main
65+
if: ${{ always() && (steps.release.outcome == 'success' || steps.release.outcome == 'failure') }}
66+
with:
67+
jellyfish_api_token: ${{ secrets.JELLYFISH_API_TOKEN }}
68+
is_successful: ${{ steps.release.outcome == 'success' }}
69+
is_dry_run: true

0 commit comments

Comments
 (0)