File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
1+ # This workflow will run tests using node and then publish a package to npm registry when a release is created
22# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33
4- name : Publish to GitHub Packages on new release
4+ name : Publish to npm registry on new release
55
66on :
77 workflow_dispatch :
1919 - run : npm ci
2020 - run : npm test
2121
22- publish-gpr :
22+ publish-npm :
2323 needs : build
2424 runs-on : ubuntu-latest
2525 permissions :
3030 - uses : actions/setup-node@v3
3131 with :
3232 node-version : 20
33- registry-url : https://npm.pkg.github.com/
34- scope : ' @gitcommitshow'
33+ registry-url : ' https://registry.npmjs.org'
3534 - run : npm ci
3635 - run : npm publish
3736 env :
38- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN }}
37+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -358,6 +358,8 @@ class ResilientOperation {
358358 _shouldRetry ( err ) {
359359 if ( err . name === 'AbortError' ) return false ;
360360
361+ if ( err . name === 'TimeoutError' ) return true ;
362+
361363 if ( err . message === 'Operation timed out' ) return true ;
362364
363365 if ( err . message === 'Circuit breaker is open' ) return false ;
You can’t perform that action at this time.
0 commit comments