Skip to content

Commit

Permalink
ci: update npm pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
willfarrell committed Jan 2, 2025
1 parent fc2f61c commit 9764eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/pull-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,3 +43,4 @@ jobs:
npm run release:publish
env:
NPM_CONFIG_PROVENANCE: 'true'
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9764eca

Please sign in to comment.