Skip to content

2.9.1-AsthmaUI.79

2.9.1-AsthmaUI.79 #139

Workflow file for this run

name: Publish to npmjs and ProGet (snapshots / prereleases)
on:
workflow_dispatch:
push:
tags:
- "*-*"
permissions:
id-token: write
contents: read
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17.3.0"
- name: Install Dependencies
run: npm ci
- name: Run Build
run: npm run rollup
- name: Deploy to npmjs
run: |
npm config set @careevolution:registry=https://registry.npmjs.org/
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPMJS_TOKEN }}
npm publish --tag next --access public
- name: Deploy to ProGet
run: |
echo "@careevolution:registry=https://proget.careevolution.com/npm/npm/" > .npmrc
npm config set @careevolution:registry=https://proget.careevolution.com/npm/npm/
npm config set //proget.careevolution.com/npm/npm/:_authToken ${{ secrets.PROGET_TOKEN }}
npm publish --tag next