mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
publish npm package via pipeline on release (#1158)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
7e3ebcf54d
commit
b765ee11bb
2 files changed
+7
-1
No files matched your search
@@ -149,6 +149,11 @@ jobs:
|
||||
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
|
||||
env:
|
||||
GH_TOKEN: $(GH_TOKEN)
|
||||
- script: make publish-npm
|
||||
displayName: Publish npm package
|
||||
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
|
||||
env:
|
||||
NPM_TOKEN: $(NPM_TOKEN)
|
||||
- bash: |
|
||||
mkdir -p "$AZURE_CACHE_FOLDER"
|
||||
tar -czf "$AZURE_CACHE_FOLDER/yarn-cache.tar.gz" "$YARN_CACHE_FOLDER"
|
||||
|
||||
Reference in new issue
Block a user