Skip to content

Latest commit

 

History

History

setup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

mcous/js/actions/setup

Install Node, pnpm, and dependencies with caching in a GitHub Actions workflow of a JS project.

Usage

Add a uses: mcous/js/actions/setup step to your workflow. The following options may be specified using with:

Input Default Description
node-version 18 Node.js version to install
registry-url Unset Registry to configure for publish
run-install true Run pnpm install
name: ci

on: [push]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: mcous/js/actions/setup
      - run: pnpm run all