File tree 6 files changed +13
-7
lines changed
6 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ inputs:
11
11
12
12
outputs :
13
13
prev_version :
14
+ description : Previous version of the package before bumping
14
15
value : ${{ steps.internal_id_prev_version.outputs.value }}
15
16
next_version :
17
+ description : New version of the package after bumping
16
18
value : ${{ steps.internal_id_next_version.outputs.value }}
17
19
18
20
runs :
@@ -24,13 +26,12 @@ runs:
24
26
shell : bash
25
27
26
28
- name : Bump version
27
- if : ${{ !inputs.npm_tag }}
28
- run : yarn version --new-version "${{ inputs.version }}" --no-commit-hooks
29
+ run : yarn version ${{ inputs.version }} --deferred
29
30
shell : bash
30
31
31
32
- name : Bump version with npm_tag
32
33
if : ${{ inputs.npm_tag }}
33
- run : yarn version --new-version " ${{ inputs.version }}" --preid ${{ inputs.npm_tag }} --no-commit-hooks
34
+ run : yarn version apply -- ${{ inputs.version }}= ${{ inputs.npm_tag }}
34
35
shell : bash
35
36
36
37
- name : Saving new version to env
Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ runs:
35
35
36
36
- name : Publishing release
37
37
if : ${{ !inputs.npm_tag }}
38
- run : yarn publish --access public --non-interactive
38
+ run : yarn npm publish --access public
39
39
env :
40
- NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
40
+ YARN_NPM_AUTH_TOKEN : ${{ inputs.npm_token }}
41
41
shell : bash
42
42
43
43
- name : Publishing release with npm_tag
44
44
if : ${{ inputs.npm_tag }}
45
- run : yarn publish --access public --non-interactive --tag ${{ inputs.npm_tag }}
45
+ run : yarn npm publish --access public --tag ${{ inputs.npm_tag }}
46
46
env :
47
- NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
47
+ YARN_NPM_AUTH_TOKEN : ${{ inputs.npm_token }}
48
48
shell : bash
Original file line number Diff line number Diff line change 22
22
- name : Checkout
23
23
uses : actions/checkout@v4
24
24
with :
25
+ fetch-depth : 0
25
26
token : ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
26
27
27
28
- name : Setting up the repository environment
Original file line number Diff line number Diff line change 35
35
- name : Checkout
36
36
uses : actions/checkout@v4
37
37
with :
38
+ fetch-depth : 0
38
39
token : ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
39
40
40
41
- name : Setting up the repository environment
Original file line number Diff line number Diff line change @@ -27,4 +27,6 @@ coverage
27
27
# GitHub
28
28
.github /*
29
29
30
+ .yarn /
31
+
30
32
/bin
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export class HttpProxy {
12
12
return await axios ( {
13
13
url : proxiedServerUrl ,
14
14
data : parsedRequest . body ,
15
+ maxRedirects : 0 ,
15
16
headers : parsedRequest . headers ,
16
17
method : parsedRequest . method as Method ,
17
18
responseType : 'arraybuffer' ,
You can’t perform that action at this time.
0 commit comments