Skip to content

Commit b05a689

Browse files
authored
Merge pull request #7 from what3words/step-summary-on-success
Resolve/update repository configurations
2 parents da5e364 + a3ee838 commit b05a689

File tree

3 files changed

+17
-28
lines changed

3 files changed

+17
-28
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
11
# Default owners for everything in the repo
22

3-
- @w3w-internal/tech-frontend
3+
- @what3words/front-end-team
44

55
# Hybrid product-team ownership
66

7-
/*.md @w3w-internal/w3w-product @w3w-internal/tech-frontend
8-
/packages/components/javascript/src/translations/ @w3w-internal/w3w-product @w3w-internal/tech-frontend
9-
/apps/demos/ @w3w-internal/w3w-product @w3w-internal/tech-frontend
10-
/apps/examples/components/ @w3w-internal/w3w-product @w3w-internal/tech-frontend
7+
/*.md @what3words/product @what3words/front-end-team
8+
/packages/components/javascript/src/translations/ @what3words/product @what3words/front-end-team
9+
/apps/demos/ @what3words/product @what3words/front-end-team
10+
/apps/examples/components/ @what3words/product @what3words/front-end-team
1111

1212
# Tech-team ownership
1313

14-
/apps/examples/e2e/ @w3w-internal/tech-frontend
15-
/.github/workflows/ @w3w-internal/tech-frontend
16-
/packages/ @w3w-internal/tech-frontend
17-
18-
## Default owners for everything in the repo
19-
20-
#- @what3words/front-end-team
21-
22-
## Hybrid product-team ownership
23-
24-
#/*.md @what3words/product @what3words/front-end-team
25-
#/packages/components/javascript/src/translations/ @what3words/product @what3words/front-end-team
26-
#/apps/demos/ @what3words/product @what3words/front-end-team
27-
#/apps/examples/components/ @what3words/product @what3words/front-end-team
28-
29-
## Tech-team ownership
30-
31-
#/apps/examples/e2e/ @what3words/front-end-team
32-
#/.github/workflows/ @what3words/front-end-team
33-
#/packages/ @what3words/front-end-team
14+
/apps/examples/e2e/ @what3words/front-end-team
15+
/.github/workflows/ @what3words/front-end-team
16+
/packages/ @what3words/front-end-team

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md renamed to .github/pull_request_template.md

File renamed without changes.

.github/workflows/cd.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,17 @@ jobs:
9797
# we create newline separated raw strings to map iterate with xargs that runs the npm publish command: https://stackoverflow.com/a/50845457
9898
packageNames=$(jq -rc 'keys | join("\n")' <<< '${{needs.prepare-packages.outputs.checked-package-versions}}')
9999
echo $packageNames | xargs -n 1 npm publish -w
100+
env:
101+
NODE_OPTIONS: "--max_old_space_size=4096"
102+
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
103+
104+
- name: Publish packages status
105+
run: |
100106
echo "### Package(s) published! :gift:" >> $GITHUB_STEP_SUMMARY
101107
echo "" >> $GITHUB_STEP_SUMMARY
102108
echo "#### Published package(s)" >> $GITHUB_STEP_SUMMARY
103109
packageUrls=$(jq -rc '. as $o | with_entries(.key |= "[" + . + "](https://www.npmjs.com/package/" + . + "/v/" + $o[.].committedVersion + ")") | keys | join("\n")' <<< '${{needs.prepare-packages.outputs.checked-package-versions}}')
104110
echo $packageUrls | xargs -n 1 echo >> $GITHUB_STEP_SUMMARY
105-
env:
106-
NODE_OPTIONS: "--max_old_space_size=4096"
107-
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
108111
109112
upload-distribution:
110113
runs-on: ubuntu-latest
@@ -172,6 +175,9 @@ jobs:
172175
npm run --workspace=${{env.DISTRIBUTION_PACKAGE}} build
173176
echo "::notice title=Uploading distributions::sources_path=${{needs.prepare-packages.outputs.dist-directory}}, target_path=${{ env.AWS_S3_DIRECTORY }}"
174177
aws s3 cp . s3://${{ env.AWS_S3_BUCKET }}/${{ env.AWS_S3_DIRECTORY }}@${{needs.prepare-packages.outputs.dist-committed-version}}/ --recursive --exclude "*" --include "dist/*" --include "loader/*"
178+
179+
- name: Upload distribution status
180+
run: |
175181
echo "### Distribution uploaded! :rocket:" >> $GITHUB_STEP_SUMMARY
176182
echo "" >> $GITHUB_STEP_SUMMARY
177183
echo "Package: ${{env.DISTRIBUTION_PACKAGE}}@${{needs.prepare-packages.outputs.dist-committed-version}}" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)