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

Commit

Permalink
Set NPM Config Registry Env Var
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Mar 15, 2024
1 parent 7296998 commit 4f9fdb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
outputs:
published: ${{ steps.changesets.outputs.published }}

env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org

steps:
- name: Checkout source
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
Expand All @@ -35,12 +38,6 @@ jobs:
- name: Init Hermit
uses: cashapp/activate-hermit@v1

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Verify NPM token is authenticated with NPMjs.com
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,7 @@ packages/**/src/try.ts
.DS_STORE

# Test report
results.xml
results.xml

# Hermit build output
.hermit

0 comments on commit 4f9fdb8

Please sign in to comment.