@inriver/inri 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,17 +4,4 @@ trigger:
|
|
|
4
4
|
- main
|
|
5
5
|
|
|
6
6
|
stages:
|
|
7
|
-
- template: templates/deployFramework.yml
|
|
8
|
-
|
|
9
|
-
- stage: Publish
|
|
10
|
-
condition: |
|
|
11
|
-
and(
|
|
12
|
-
succeeded(),
|
|
13
|
-
contains(variables['Build.SourceBranch'], 'refs/heads/main')
|
|
14
|
-
)
|
|
15
|
-
displayName: Publish framwork
|
|
16
|
-
dependsOn: Deploy
|
|
17
|
-
variables:
|
|
18
|
-
- group: inri-access-token
|
|
19
|
-
jobs:
|
|
20
|
-
- template: templates/publishFramwork.yml
|
|
7
|
+
- template: templates/deployFramework.yml
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
stages:
|
|
2
|
-
- stage:
|
|
2
|
+
- stage: BuildAndDeploy
|
|
3
|
+
variables:
|
|
4
|
+
- group: inri-access-token
|
|
3
5
|
jobs:
|
|
4
|
-
- job:
|
|
5
|
-
displayName:
|
|
6
|
-
|
|
6
|
+
- job: BuildAndDeploy
|
|
7
|
+
displayName: Build and deploy inri framework
|
|
7
8
|
steps:
|
|
8
9
|
- task: Cache@2
|
|
9
10
|
inputs:
|
|
@@ -27,4 +28,18 @@ stages:
|
|
|
27
28
|
- script: |
|
|
28
29
|
npm install -g pnpm
|
|
29
30
|
pnpm install --frozen-lockfile
|
|
30
|
-
displayName:
|
|
31
|
+
displayName: Install dependencies
|
|
32
|
+
|
|
33
|
+
- bash: |
|
|
34
|
+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
35
|
+
env:
|
|
36
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
|
37
|
+
displayName: Init .npmrc file
|
|
38
|
+
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
|
|
39
|
+
|
|
40
|
+
- script: |
|
|
41
|
+
pnpm publish:ci --no-git-checks
|
|
42
|
+
env:
|
|
43
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
|
44
|
+
displayName: Publish inri framework
|
|
45
|
+
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
|