File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,14 @@ jobs:
2626 node-version : 22
2727 registry-url : https://registry.npmjs.org/
2828 - run : |
29- for package_dir in packages/*; do \
30- if [[ -d "$package_dir" && { "$package_dir" == "aws-durable-execution-sdk-js-testing" || "$package_dir" == "aws-durable-execution-sdk-js" ]]; then \
29+ for package_dir in packages/*; \
30+ do \
31+ if [ -d "$package_dir" ] && [[ "$package_dir" == "packages/aws-durable-execution-sdk-js-testing" || "$package_dir" == "packages/aws-durable-execution-sdk-js" ]]; then \
3132 cd "$package_dir" \
3233 echo "Publishing package in $package_dir" \
3334 npm publish --access public # Adjust --access as needed \
34- cd - # Go back to the root directory \
35- fi \
36- done \
35+ cd ../.. # Go back to the root directory \
36+ fi \
37+ done
3738 env:
3839 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments