This action combines actions/checkout
, actions/setup-node
and bahmutov/npm-install
into a single action.
Skips the checkout step
Skips the node setup step
Skips the npm install step
All inputs from the three actions are mapped 1:1 as they would be used on their own, with the following exceptions:
Used as the token
input for actions/checkout
Replaces the token
input for actions/setup-node
Defaults to false
instead of true
Defaults to env.NODE_VERSION
instead of undefined
This property is removed to prevent warnings in action runs. Use node-version
instead.
Defaults to true
instead of false
None! 🎉
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install node_modules
uses: bahmutov/npm-install@v1
with:
useRollingCache: true
- name: Setup job
uses: nickofthyme/checkout-node-setup@v1
with:
persist-credentials: false
useRollingCache: true