Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to ProGet
name: Publish to NPM and ProGet

on:
push:
Expand All @@ -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
Expand All @@ -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
npm publish ./dist --access public