diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 59e8807..bbed3da 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -16,10 +16,6 @@ jobs: with: node-version: 24 cache: 'npm' - - name: Configure 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 }} - name: Install Dependencies run: npm ci - name: Lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7da3821..efdfe3b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,10 +19,6 @@ jobs: with: node-version: 24 cache: 'npm' - - name: Configure 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 }} - name: Install Dependencies run: npm ci - name: Run Build @@ -30,4 +26,11 @@ jobs: - name: Test run: npm run test - name: Deploy to ProGet - run: npm publish ./dist + 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 + run: | + npm config set @careevolution:registry=https://registry.npmjs.org/ + npm publish ./dist/elements --access public \ No newline at end of file