From a460c8f848565f4cfcd3a546d5ed955f59851713 Mon Sep 17 00:00:00 2001 From: Anne Marsan Date: Wed, 28 Jan 2026 10:13:51 -0500 Subject: [PATCH] Fix the deploy workflow --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index efdfe3b..308c5b9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish to ProGet +name: Publish to NPM and ProGet on: push: @@ -19,6 +19,9 @@ jobs: with: node-version: 24 cache: 'npm' + - name: Configure proget + run: | + npm config set //proget.careevolution.com/npm/npm/:_authToken ${{ secrets.PROGET_TOKEN }} - name: Install Dependencies run: npm ci - name: Run Build @@ -28,9 +31,8 @@ jobs: - name: Deploy to ProGet run: | npm config set @careevolution:registry=https://proget.careevolution.com/npm/npm/ - npm config set //proget.careevolution.com/npm/npm/:_authToken ${{ secrets.PROGET_NPM_TOKEN }} npm publish ./dist - - name: Deploy NPM + - name: Deploy to NPM run: | npm config set @careevolution:registry=https://registry.npmjs.org/ - npm publish ./dist/elements --access public \ No newline at end of file + npm publish ./dist --access public \ No newline at end of file