From bbbea5ed3d73167ab58cf782bea534de4b877c5a Mon Sep 17 00:00:00 2001 From: Christopher Lord Date: Sat, 18 Apr 2026 12:50:37 -0600 Subject: [PATCH] udpate publish script --- .github/workflows/publish.yml | 7 +++---- .gitignore | 1 + package.json | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 22ab8a4..d4dea9f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,7 @@ on: jobs: publish: runs-on: ubuntu-latest + environment: production permissions: contents: read id-token: write @@ -16,13 +17,11 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run build - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm publish diff --git a/.gitignore b/.gitignore index 0b57fe6..5b0a9b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules/ +.claude/settings.local.json dist/ *.log .DS_Store diff --git a/package.json b/package.json index d0f36f7..0c0961d 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,7 @@ "components" ], "publishConfig": { - "access": "public", - "provenance": true + "access": "public" }, "engines": { "node": ">=18.17"