From 9764eca338260456581ffb5bff939736a8943cbe Mon Sep 17 00:00:00 2001 From: will Farrell Date: Thu, 2 Jan 2025 10:31:46 -0700 Subject: [PATCH] ci: update npm pattern --- .github/ISSUE_TEMPLATE/pull-request.md | 1 + .github/workflows/release.yml | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/pull-request.md b/.github/ISSUE_TEMPLATE/pull-request.md index becaa715e..cad497f75 100644 --- a/.github/ISSUE_TEMPLATE/pull-request.md +++ b/.github/ISSUE_TEMPLATE/pull-request.md @@ -24,6 +24,7 @@ assignees: '' **Todo List:** - [ ] Feature/Fix fully implemented +- [ ] All commits are cryptographically signed - [ ] Updated relevant types - [ ] Added tests (if applicable) - [ ] Unit tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 916e7e1c6..355836b96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,7 @@ jobs: uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: ${{ matrix.node-version }} - - name: Create .npmrc - run: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: | npm ci @@ -47,3 +43,4 @@ jobs: npm run release:publish env: NPM_CONFIG_PROVENANCE: 'true' + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}