GithubHelp home page GithubHelp logo

Comments (2)

zkochan avatar zkochan commented on May 26, 2024 4

There is currently no difference but I think we will update this action to install the pnpm binaries instead. So it will be different #18

Also, from pnpm v7, pnpm will not install global packages to the same directory to which npm installs them (pnpm/pnpm#4280). So if you will do just npm i -g pnpm@7, then pnpm i -g eslint will not work.

from action-setup.

kidonng avatar kidonng commented on May 26, 2024 1

Using this action adds ~3s to "Set up job" and itself needs ~2s to run, while npm i -g pnpm finishes in <1s. So, you may want to choose the latter if you want to save some seconds1.

I doubt there's any need to do pnpm i -g in the CI.

Footnotes

  1. this measurement may not be accurate

from action-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.