File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 11name : npm
22on :
33 push :
4- branches : main
54
65jobs :
7- publish :
6+ build :
7+ name : Build
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
1111 - run : npm ci
12- - run : npm run format
13- - run : npm run build
14- - uses : JS-DevTools/npm-publish@541aa6b21b4a1e9990c95a92c21adc16b35e9551 # v2.1.0
12+ - name : Publish
13+ uses : JS-DevTools/npm-publish@541aa6b21b4a1e9990c95a92c21adc16b35e9551 # v2.1.0
14+ # only on default branch
15+ if : github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
1516 with :
1617 access : public
1718 token : ${{ secrets.NPM_TOKEN }}
1819
1920 renovate :
20- name : Update
21- needs : publish
21+ name : Renovate
22+ if : github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
23+ needs : build
2224 uses : urcomputeringpal/.github/.github/workflows/renovate.yaml@main
2325 with :
2426 renovate_app_slug : ur-renovate
You can’t perform that action at this time.
0 commit comments