The home for Hyperlane core contracts, sdk packages, and other infrastructure
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.
 
 
 
 
 
 
hyperlane-monorepo/.github/workflows/npm/action.yml

29 lines
645 B

name: npm install
inputs:
runneros:
required: true
default: 'test'
runs:
using: "composite"
steps:
- uses: actions/checkout@v2
- name: Print inputs
shell: bash
run: |
echo ${{ inputs.runneros }}
# Save caches individually
- name: Parent Cache
id: parent-cache
uses: actions/cache@v2
with:
path: .//node_modules
key: ${{ inputs.runneros }}-core-cache-${{ hashFiles('./package-lock.json') }}
# Install separately depending on cache hit
- name: Install Parent
shell: bash
if: steps.parent-cache.outputs.cache-hit != 'true'
run: npm i