Skip to content

Commit

Permalink
add npm login section to CONTRIBUTING.md (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
memark authored Jul 28, 2024
1 parent afd6f0d commit b415089
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ A good general description on how to develop a GitHub JavaScript action can be f

- Node 20

### Logging in to GitHub package registry

1. Create a classic Personal Access Token (PAT) for your GitHub profile,
with permission `read:packages`:
https://github.com/settings/tokens

1. Use that token to log in to the registry:
`npm login --registry https://npm.pkg.github.com --scope @actions-rs`
Username: dummy
Password: \<paste your PAT here\>

This allows `@actions-rs` npm packages to be downloaded.

### Installing dependencies

`npm install`
Expand Down

0 comments on commit b415089

Please sign in to comment.