File tree 3 files changed +6
-6
lines changed
Filter options
3 files changed +6
-6
lines changed
Original file line number Diff line number Diff line change @@ -429,15 +429,15 @@ jobs:
429
429
# ## Use scripts with jsDoc support
430
430
431
431
If you want type support for your scripts, you could use the command below to install the
432
- ` github-script` type declaration.
432
+ ` @actions/ github-script` type declaration.
433
433
` ` ` sh
434
- $ npm i -D @types /github-script@github:actions/github-script
434
+ $ npm i -D @actions /github-script@github:actions/github-script
435
435
` ` `
436
436
437
437
And then add the `jsDoc` declaration to your script like this :
438
438
` ` ` js
439
439
// @ts-check
440
- /** @param {import('@types /github-script').AsyncFunctionArguments} AsyncFunctionArguments */
440
+ /** @param {import('@actions /github-script').AsyncFunctionArguments} AsyncFunctionArguments */
441
441
export default async ({ core, context }) => {
442
442
core.debug("Running something at the moment");
443
443
return context.actor;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " github-script" ,
2
+ "name" : " @actions/ github-script" ,
3
3
"description" : " A GitHub action for executing a simple script" ,
4
4
"version" : " 7.0.1" ,
5
5
"author" : " GitHub" ,
You can’t perform that action at this time.
0 commit comments