You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
536 B
22 lines
536 B
name: Setup
|
|
description: Common environment setup
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20.x
|
|
- uses: actions/cache@v4
|
|
id: cache
|
|
with:
|
|
path: '**/node_modules'
|
|
key: npm-v3-${{ hashFiles('**/package-lock.json') }}
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
shell: bash
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
- name: Install Foundry
|
|
uses: foundry-rs/foundry-toolchain@v1
|
|
with:
|
|
version: nightly
|
|
|