qovery-typescript-axios 1.1.599 → 1.1.601
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.
|
@@ -10,25 +10,29 @@ name: Upload NPM Package
|
|
|
10
10
|
|
|
11
11
|
on:
|
|
12
12
|
workflow_run:
|
|
13
|
-
workflows: [
|
|
13
|
+
workflows: ["Tagging"]
|
|
14
14
|
types:
|
|
15
15
|
- completed
|
|
16
16
|
|
|
17
17
|
jobs:
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
on-success:
|
|
20
19
|
runs-on: ubuntu-latest
|
|
21
|
-
|
|
20
|
+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
22
21
|
steps:
|
|
23
22
|
- uses: actions/checkout@v2
|
|
24
23
|
- name: Set up Node
|
|
25
24
|
uses: actions/setup-node@v2
|
|
26
25
|
with:
|
|
27
|
-
node-version:
|
|
28
|
-
registry-url:
|
|
26
|
+
node-version: "16.x"
|
|
27
|
+
registry-url: "https://registry.npmjs.org"
|
|
29
28
|
- name: Install dependencies
|
|
30
29
|
run: npm ci
|
|
31
30
|
- name: Publish package
|
|
32
31
|
run: npm publish
|
|
33
32
|
env:
|
|
34
33
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
34
|
+
on-failure:
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
|
37
|
+
steps:
|
|
38
|
+
- run: echo 'The triggering workflow failed'
|
|
@@ -2,7 +2,7 @@ name: Tagging
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: [
|
|
5
|
+
branches: ["main"]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
8
|
build:
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
with:
|
|
18
18
|
flag_branch: false
|
|
19
19
|
message: Bump version
|
|
20
|
-
prev_tag:
|
|
20
|
+
prev_tag: "v"
|
|
21
21
|
env:
|
|
22
22
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
23
23
|
|
|
@@ -39,5 +39,3 @@ jobs:
|
|
|
39
39
|
git add package.json
|
|
40
40
|
git commit -m "chore: bump version to $LAST_TAG"
|
|
41
41
|
git push origin main
|
|
42
|
-
|
|
43
|
-
|