GitHub Actions 1 · Languages, caching and artifacts

Set up Node.js with caching

Install a Node.js version and cache npm downloads.

- uses: actions/setup-node@v4
  with:
    node-version: 24
    cache: npm

Official GitHub Actions 1 documentation

More languages, caching and artifacts commands

All languages, caching and artifacts commands · GitHub Actions 1 cheatsheet

Was this page helpful?