Continuous Integration
pnpm can easily be used in various continuous integration systems.
#
TravisOn Travis CI, you can use pnpm for installing your dependencies by adding this
to your .travis.yml
file:
#
SemaphoreOn Semaphore, you can use pnpm for installing and caching your dependencies by
adding this to your .semaphore/semaphore.yml
file:
#
AppVeyorOn AppVeyor, you can use pnpm for installing your dependencies by adding this
to your appveyor.yml
:
#
Sail CIOn [Sail CI], you can use pnpm for installing your dependencies by adding this to your .sail.yml
file:
To get the exact Node version and pnpm version you require you can always make your own Docker image and push to Docker Hub.
#
GitHub ActionsOn GitHub Actions, you can use pnpm for installing and caching your dependencies
like so (belongs in .github/workflows/NAME.yml
):
note
Using actions/[email protected]
you need to install pnpm with root permissions, eg:sudo npm install -g pnpm
. Alternatively, if you specify the Node.js version to use, pnpm may be installed with no priviledged user.