From 03c99b2f38e401e7717ec5cea3929a63d60999ef Mon Sep 17 00:00:00 2001 From: Clay Miller Date: Wed, 14 Jan 2026 15:23:38 -0500 Subject: [PATCH] chore: Set up Trusted Publishing Docs: https://docs.npmjs.com/trusted-publishers --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4f7cb6b..e94fedd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,15 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org/ cache: npm + - run: npm install -g npm@^11.0.0 - run: npm ci - run: npm version ${TAG_NAME} --git-tag-version=false env: TAG_NAME: ${{ github.event.release.tag_name }} - - run: npm whoami; npm --ignore-scripts publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + - run: npm --ignore-scripts publish --provenance --access public