File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 9898 - name : Setup NPM authentication
9999 run : |
100100 NPM_TOKEN=$(aws secretsmanager get-secret-value --secret-id aws-lambda-runtimes/github/nodejs/npm-token --query SecretString --output text)
101- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
101+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
102+ chmod 0600 .npmrc
102103
103104 - name : Determine version and package name
104105 id : version
@@ -117,10 +118,11 @@ jobs:
117118
118119 - name : Publish to npm
119120 run : |
121+ PACKAGE_FILE=$(ls aws-lambda-ric-*.tgz)
120122 if [[ "${{ steps.version.outputs.is_rc }}" == "true" ]]; then
121- npm publish aws-lambda-ric-*.tgz --tag rc
123+ npm publish $PACKAGE_FILE --tag rc --access=public
122124 else
123- npm publish aws-lambda-ric-*.tgz
125+ npm publish $PACKAGE_FILE --access=public
124126 fi
125127
126128 - name : Create GitHub Release
Original file line number Diff line number Diff line change 11{
2- "name" : " aws-lambda-ric " ,
2+ "name" : " icecream-shop " ,
33 "version" : " 3.3.0" ,
44 "description" : " AWS Lambda Runtime Interface Client for NodeJs" ,
55 "homepage" : " https://github.com/aws/aws-lambda-nodejs-runtime-interface-client" ,
3535 "author" : " AWS Lambda" ,
3636 "license" : " Apache-2.0" ,
3737 "bin" : {
38- "aws-lambda-ric " : " bin/index.mjs"
38+ "icecream-shop " : " bin/index.mjs"
3939 },
4040 "husky" : {
4141 "hooks" : {
You can’t perform that action at this time.
0 commit comments