You can now run Node.js projects faster on GitHub Actions by enabling dependency caching on the setup-node action. setup-node supports caching from both npm and yarn package managers.

- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: npm

For questions, visit the GitHub Actions community