File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 78
78
retention-days : 30
79
79
80
80
Release-on-NPM :
81
+ if : github.ref == 'refs/heads/main'
81
82
timeout-minutes : 180
82
83
runs-on : ubuntu-latest
83
84
needs : [Build-And-Test-Server, Build-And-Test-Web]
@@ -95,13 +96,13 @@ jobs:
95
96
npm run build
96
97
- name : Publish to NPM if version has changed
97
98
uses : JS-DevTools/npm-publish@v1
98
- if : github.ref == 'refs/heads/main'
99
99
with :
100
100
token : ${{ secrets.NPM_TOKEN }}
101
101
env :
102
102
INPUT_TOKEN : ${{ secrets.NPM_TOKEN }}
103
103
104
104
Release-mina-signer-on-NPM :
105
+ if : github.ref == 'refs/heads/main'
105
106
timeout-minutes : 180
106
107
runs-on : ubuntu-latest
107
108
needs : [Build-And-Test-Server, Build-And-Test-Web]
@@ -121,7 +122,6 @@ jobs:
121
122
npm run prepublishOnly
122
123
- name : Publish to NPM if version has changed
123
124
uses : JS-DevTools/npm-publish@v1
124
- if : github.ref == 'refs/heads/main'
125
125
with :
126
126
token : ${{ secrets.NPM_TOKEN }}
127
127
package : ' ./src/mina-signer/package.json'
You can’t perform that action at this time.
0 commit comments