Skip to content

Instantly share code, notes, and snippets.

View rizzrark's full-sized avatar
💭
$='$=%j;console.log($,$)';console.log($,$)

rizzrark rizzrark

💭
$='$=%j;console.log($,$)';console.log($,$)
View GitHub Profile
@rizzrark
rizzrark / private-npm-in-gh-actions.md
Created December 10, 2025 10:37 — forked from nandorojo/private-npm-in-gh-actions.md
Use private NPM packages in your GitHub actions

1 NPM_TOKEN

Add an NPM_TOKEN secret on GitHub. Get your secret key from the NPM dashboard.

2 Add a step to your action

- name: Authenticate with private NPM package
  run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc