Skip to content

Commit 634811a

Browse files
docs: mentioned ACCESS_TOKEN and NPM_TOKEN in setup steps (#114)
1 parent 8e01c1a commit 634811a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ To use this template:
5252

5353
1. Click the [_Use this template_](https://github.com/JoshuaKGoldberg/template-typescript-node-package/generate) button to create a new repository with the same Git history
5454
2. Open that repository, such as by [cloning it locally](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) or [developing in a codespace](https://docs.github.com/en/codespaces/developing-in-codespaces/developing-in-a-codespace)
55-
3. `pnpm install`
56-
4. `pnpm run setup`
55+
3. Create two tokens in [repository secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets):
56+
- `ACCESS_TOKEN`: A [GitHub PAT](https://github.com/settings/tokens/new) with _repo_ permissions
57+
- `NPM_TOKEN`: An [npm access token](https://docs.npmjs.com/creating-and-viewing-access-tokens/) with _Automation_ permissions
58+
4. `pnpm install`
59+
5. `pnpm run setup`
5760

5861
> The setup script removes the `## Explainer` and `## Setup` from this README.md.
5962

0 commit comments

Comments
 (0)