Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is supported officially:

  - uses: actions/cache@v3
    with:
      # npm cache files are stored in `~/.npm` on Linux/macOS
      path: ~/.npm
      key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: