From c70df8b344cd5711306394b220cd65919d19545c Mon Sep 17 00:00:00 2001 From: Christian van der Loo Date: Sun, 10 Nov 2024 15:13:38 -0500 Subject: [PATCH] ci: re-add npmrc --- .github/workflows/ci.yml | 5 ++--- .npmrc | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0a170c..0805723 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,9 +39,8 @@ jobs: - uses: oven-sh/setup-bun@v2 with: bun-version: latest - registry-url: https://registry.npmjs.org/ - run: bun i - run: bun run build - - run: cat bunfig.toml && bunx npm publish + - run: bunx npm publish env: - NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..ae64359 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NPM_TOKEN}