Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
try and authenticate using .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bam4d committed Dec 7, 2023
1 parent d8f8740 commit 7cbb42e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ jobs:
with:
node-version: 18

# Install Build stuff
- name: Install Dependencies
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Publish module
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
npm version ${{ github.ref_name }}
npm install
npm publish
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# when we run npm version, we don't want to create a git tag
git-tag-version=false
git-tag-version=false

0 comments on commit 7cbb42e

Please sign in to comment.