Skip to content

Commit 7875aed

Browse files
committed
Clear up package name confusion
1 parent 2bcb242 commit 7875aed

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,15 @@ jobs:
429429
### Use scripts with jsDoc support
430430

431431
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.
433433
```sh
434-
$ npm i -D @types/github-script@github:actions/github-script
434+
$ npm i -D @actions/github-script@github:actions/github-script
435435
```
436436

437437
And then add the `jsDoc` declaration to your script like this:
438438
```js
439439
// @ts-check
440-
/** @param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
440+
/** @param {import('@actions/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
441441
export default async ({ core, context }) => {
442442
core.debug("Running something at the moment");
443443
return context.actor;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "github-script",
2+
"name": "@actions/github-script",
33
"description": "A GitHub action for executing a simple script",
44
"version": "7.0.1",
55
"author": "GitHub",

0 commit comments

Comments
 (0)