We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d088fa commit 1e5c9d9Copy full SHA for 1e5c9d9
1 file changed
.github/workflows/npm.yml
@@ -27,12 +27,11 @@ jobs:
27
28
- name: Fetch NPM Package from release
29
run: |
30
- cd js/ccf-app
+ set -ex
31
wget https://github.com/microsoft/CCF/releases/download/ccf-${{steps.tref.outputs.version}}/microsoft-ccf-app-${{steps.tref.outputs.version}}.tgz
32
+ echo "registry=https://registry.npmjs.org/" > .npmrc
33
+ working-directory: js/ccf-app
34
35
- name: Publish NPM Package to https://www.npmjs.com/package/@microsoft/ccf-app
- run: |
- set -ex
36
37
- echo "registry=https://registry.npmjs.org/" > .npmrc
38
- npm publish microsoft-ccf-app*.tgz --access public
+ run: npm publish microsoft-ccf-app*.tgz --access public --tag ${{ github.event.release.prerelease && 'dev' || 'latest' }}
0 commit comments