Skip to content

Commit

Permalink
login to npm to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 20, 2024
1 parent 29093bf commit 986b506
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ jobs:
needs: [setup, test]
if: ${{ github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize') }}
runs-on: ubuntu-latest
env:
NPM_USERNAME:
NPM_EMAIL:
steps:
- name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
uses: actions/checkout@v3
Expand All @@ -109,6 +106,10 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Add npm token to .npmrc
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: Prepare version for publish
id: prep
run: |
Expand Down

0 comments on commit 986b506

Please sign in to comment.