action.yml 463 B

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