From f3adde3d7d7504f13131f5b7b4df9eb4a5addffd Mon Sep 17 00:00:00 2001 From: logfox-agent Date: Sun, 8 Mar 2026 01:46:54 -0500 Subject: [PATCH] chore: update CI workflow and README --- .github/workflows/ci.yml | 8 +++++++- README.md | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1be69a..687c9a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,7 @@ on: branches: [main] permissions: contents: read + packages: read jobs: ci: runs-on: ubuntu-latest @@ -12,6 +13,11 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - cache: 'npm' + registry-url: 'https://npm.pkg.github.com' + scope: '@logfoxai' + - name: Configure npm auth + run: | + echo "@logfoxai:registry=https://npm.pkg.github.com/" > .npmrc + echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc - run: npm ci - run: npm run build diff --git a/README.md b/README.md index db66b1b..a41f77d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ CLI tool for sending local development logs to Logfox. +**npm setup:** Uses private `@logfoxai` packages. See [home](https://github.com/logfoxai/home#npm--github-packages-setup) for the one-time npm + gh auth setup. + ## Installation ```bash