Skip to content

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

Restore NPM_TOKEN auth for release workflows (#10)

Cobus Greylinga57b5c0b99c0
diff --git a/.github/workflows/release-loop-audit.yml b/.github/workflows/release-loop-audit.yml
index 7f10425..da7f27c 100644
--- a/.github/workflows/release-loop-audit.yml
+++ b/.github/workflows/release-loop-audit.yml
@@ -32,6 +32,8 @@ jobs:
npm run build
npm test
- - name: Publish to npm (trusted publishing — no NPM_TOKEN)
+ - name: Publish to npm
working-directory: tools/loop-audit
- run: npm publish --access public --provenance
\ No newline at end of file
+ run: npm publish --access public --provenance
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/release-loop-init.yml b/.github/workflows/release-loop-init.yml
index 20e33a7..606065b 100644
--- a/.github/workflows/release-loop-init.yml
+++ b/.github/workflows/release-loop-init.yml
@@ -28,4 +28,6 @@ jobs:
run: |
npm ci
npm test
- npm publish --access public --provenance
\ No newline at end of file
+ npm publish --access public --provenance
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
\ No newline at end of file