@sylvesterllc/aws-constructs 1.1.61 → 1.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -57,12 +57,17 @@ jobs:
|
|
|
57
57
|
- name: Publish to npmjs
|
|
58
58
|
run: npm publish --access public --provenance
|
|
59
59
|
|
|
60
|
-
# Publish to GitHub Packages
|
|
60
|
+
# Publish to GitHub Packages with different scope
|
|
61
|
+
- name: Update package name for GitHub Packages
|
|
62
|
+
run: |
|
|
63
|
+
jq '.name = "@davissylvester/aws-constructs"' package.json > package.json.tmp
|
|
64
|
+
mv package.json.tmp package.json
|
|
65
|
+
echo "Updated package name to $(jq -r '.name' package.json)"
|
|
61
66
|
- name: Configure .npmrc for GitHub Packages
|
|
62
67
|
run: |
|
|
63
68
|
cat > ~/.npmrc << EOF
|
|
64
69
|
//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
|
|
65
|
-
@
|
|
70
|
+
@davissylvester:registry=https://npm.pkg.github.com
|
|
66
71
|
registry=https://registry.npmjs.org/
|
|
67
72
|
EOF
|
|
68
73
|
- name: Publish to GitHub Packages
|