This repository was archived by the owner on Mar 17, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1- # NPM_TOKEN will only be populated in the context of the `publish` GH environment, see L14
21# Dry run job split as a separate job to conditionally omit `environment`
32
43name : Publish to NPM
@@ -43,19 +42,31 @@ jobs:
4342 shell : bash
4443
4544 - name : Publish ccip-js to NPM
45+ id : publish-ccip-js
46+ continue-on-error : true
4647 run : |
4748 pnpm build-ccip-js
4849 cd packages/ccip-js
4950 pnpm publish --no-git-checks --access public
5051 shell : bash
5152
5253 - name : Publish ccip-react-components to NPM
54+ id : publish-components
55+ continue-on-error : true
5356 run : |
5457 pnpm build-components
5558 cd packages/ccip-react-components
5659 pnpm publish --no-git-checks --access public
5760 shell : bash
5861
62+ - name : Check publish results
63+ if : steps.publish-ccip-js.outcome == 'failure' || steps.publish-components.outcome == 'failure'
64+ run : |
65+ echo "::error::ccip-js publish: ${{ steps.publish-ccip-js.outcome }}"
66+ echo "::error::ccip-react-components publish: ${{ steps.publish-components.outcome }}"
67+ exit 1
68+ shell : bash
69+
5970 dry-run-publish :
6071 if : github.ref_name != 'main'
6172 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments