Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 892 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 892 Bytes

action-node-run

GitHub Action for installing Node/Yarn packages on development environment and running commands. It caches dependencies for reduced execution times.

Inputs

Name Description Default Required
node_version The node version to be used. 18 true
cache_key The cache key to be checked. Can be one of npm, yarn. yarn true
cmd The command to be executed. nil true

Usage

jobs:
  eslint:
    runs-on: ubuntu-latest
    steps:
      - uses: ePages-de/action-node-run@v1
        with:
          node_version: 18
          cache_key: yarn
          cmd: npx eslint