GitHub Action
Checkout Node Project
v1
Latest version
A simple composite GitHub Action to checkout and initialize a Node project.
Remove boilerplate to initialize your node project, so you can replace...
steps:
- name: Checkout your branch
uses: actions/checkout@v4
- name: Then install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Then install dependencies
run: npm ci
with...
steps:
- name: All above steps in one!
uses: adamhamlin/checkout-node-project@v1
with:
node-version: 20.x