forked from latticexyz/mud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (32 loc) · 902 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Setup
description: Common setup steps used by our workflows
runs:
using: composite
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.x
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Setup foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Setup protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ github.token }}
- name: Install node dependencies
shell: bash
run: pnpm install --frozen-lockfile
# Workaround for parallel building with forge:
# https://github.com/foundry-rs/foundry/issues/4736
- name: Setup forge
shell: bash
working-directory: packages/schema-type
run: forge build