Skip to content

[GitHub Workflow] Fix publishing workflow issues #1

@kasunben

Description

@kasunben
Run npm publish
npm notice 
npm notice 📦  @hydra-js/cli@1.0.0-alpha.2
npm notice === Tarball Contents === 
npm notice 1.0kB LICENSE                      
npm notice 503B  __tests__/cli.test.js        
npm notice 1.9kB index.js                     
npm notice 776B  package.json                 
npm notice 1.8kB README.md                    
npm notice 558B  .github/workflows/publish.yml
npm notice === Tarball Details === 
npm notice name:          @hydra-js/cli                           
npm notice version:       1.0.0-alpha.2                           
npm notice package size:  3.1 kB                                  
npm notice unpacked size: 6.5 kB                                  
npm notice shasum:        c849b40363cafcdabe15c1a09333c0c2a4882e83
npm notice integrity:     sha512-pyxAQ+U1sx2qf[...]46kslscaHfi+g==
npm notice total files:   6                                       
npm notice 
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://registry.npmjs.org/@hydra-js%2fcli - Not found
npm ERR! 404 
npm ERR! 404  '@hydra-js/cli@1.0.0-alpha.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2024-09-08T06_49_37_396Z-debug.log
Error: Process completed with exit code 1.

https://github.com/hydra-js/cli/actions/runs/10757833416/job/29832348120

Context
Running npm publish locally does works perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions