action.yml 389 B

1234567891011121314151617
  1. name: Setup
  2. runs:
  3. using: composite
  4. steps:
  5. - uses: actions/setup-node@v3
  6. with:
  7. node-version: 16.x
  8. - uses: actions/cache@v3
  9. id: cache
  10. with:
  11. path: '**/node_modules'
  12. key: npm-v3-${{ hashFiles('**/package-lock.json') }}
  13. - name: Install dependencies
  14. run: npm ci
  15. shell: bash
  16. if: steps.cache.outputs.cache-hit != 'true'