File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -91,15 +91,17 @@ jobs:
9191 with :
9292 github-token : ${{secrets.GITHUB_TOKEN}}
9393 script : |
94- const npmTag = process.env.NPM_TAG;
95- const npmVersion = process.env.NPM_VERSION;
96- const npmURL = 'https://www.npmjs.com/package/graphql/v/' + npmVersion;
9794 github.rest.issues.createComment({
9895 issue_number: process.env.PR_NUMBER,
9996 owner: context.repo.owner,
10097 repo: context.repo.repo,
101- body:
102- `The latest changes of this PR are available as ['graphql@${npmVersion}'](${npmURL}) on NPM.\n` +
103- '**Note: no gurantees provided so please use your own discretion.**\n\n' +
104- `Also you can depend on latest version built from this PR: \`npm install --save graphql@${npmTag}\`.`,
98+ body: process.env.COMMENT_BODY,
10599 })
100+ env :
101+ COMMENT_BODY : |
102+ The latest changes of this PR are available on NPM as
103+ [graphql@${{env.NPM_VERSION}}](https://www.npmjs.com/package/graphql/v/${{env.NPM_VERSION}})
104+ **Note: no gurantees provided so please use your own discretion.**
105+
106+ Also you can depend on latest version built from this PR:
107+ `npm install --save graphql@${{env.NPM_TAG}}`
You can’t perform that action at this time.
0 commit comments