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 98
98
- name : Setup NPM authentication
99
99
run : |
100
100
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
102
103
103
104
- name : Determine version and package name
104
105
id : version
@@ -117,10 +118,11 @@ jobs:
117
118
118
119
- name : Publish to npm
119
120
run : |
121
+ PACKAGE_FILE=$(ls aws-lambda-ric-*.tgz)
120
122
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
122
124
else
123
- npm publish aws-lambda-ric-*.tgz
125
+ npm publish $PACKAGE_FILE --access=public
124
126
fi
125
127
126
128
- name : Create GitHub Release
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " aws-lambda-ric " ,
2
+ "name" : " icecream-shop " ,
3
3
"version" : " 3.3.0" ,
4
4
"description" : " AWS Lambda Runtime Interface Client for NodeJs" ,
5
5
"homepage" : " https://github.com/aws/aws-lambda-nodejs-runtime-interface-client" ,
35
35
"author" : " AWS Lambda" ,
36
36
"license" : " Apache-2.0" ,
37
37
"bin" : {
38
- "aws-lambda-ric " : " bin/index.mjs"
38
+ "icecream-shop " : " bin/index.mjs"
39
39
},
40
40
"husky" : {
41
41
"hooks" : {
You can’t perform that action at this time.
0 commit comments