Skip to content

A simple GitHub Action to checkout and initialize a Node project

License

Notifications You must be signed in to change notification settings

adamhamlin/checkout-node-project

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

checkout-node-project

A simple composite GitHub Action to checkout and initialize a Node project.

Usage

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

About

A simple GitHub Action to checkout and initialize a Node project

Resources

License

Stars

Watchers

Forks

Packages

No packages published