action.yml 498 B

123456789101112131415161718192021
  1. name: Setup
  2. runs:
  3. using: composite
  4. steps:
  5. - uses: actions/setup-node@v4
  6. with:
  7. node-version: 20.x
  8. - uses: actions/cache@v4
  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'
  17. - name: Install Foundry
  18. uses: foundry-rs/foundry-toolchain@v1
  19. with:
  20. version: nightly