-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89d2c8a
commit b9ed59a
Showing
1 changed file
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
name: Install and build gauntlet | ||
description: A composite action that installs and builds all the gauntlet dependencies | ||
name: Install gauntlet dependencies | ||
|
||
tool_versions: | ||
name: Get the tool versions | ||
runs-on: ubuntu-latest | ||
outputs: | ||
nodejs_version: ${{ steps.tool-versions.outputs.nodejs_version }} | ||
steps: | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
- uses: smartcontractkit/[email protected] | ||
id: tool-versions | ||
jobs: | ||
tool_versions: | ||
name: Get the tool versions | ||
runs-on: ubuntu-latest | ||
outputs: | ||
nodejs_version: ${{ steps.tool-versions.outputs.nodejs_version }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: smartcontractkit/[email protected] | ||
id: tool-versions | ||
|
||
gauntlet_build: | ||
name: Gauntlet Build | ||
runs-on: ubuntu-latest | ||
needs: [tool_versions] | ||
steps: | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
- name: Setup Node ${{ needs.tool_versions.outputs.nodejs_version }} | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
node-version: ${{ needs.tool_versions.outputs.nodejs_version }} | ||
- name: Install | ||
run: yarn --cwd ./gauntlet install --frozen-lockfile | ||
- name: Build | ||
run: yarn --cwd ./gauntlet build | ||
- name: Run Gauntlet | ||
run: yarn --cwd ./gauntlet gauntlet | ||
gauntlet_build: | ||
name: Gauntlet Build | ||
runs-on: ubuntu-latest | ||
needs: [tool_versions] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Setup Node ${{ needs.tool_versions.outputs.nodejs_version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ needs.tool_versions.outputs.nodejs_version }} | ||
- name: Install | ||
run: yarn --cwd ./gauntlet install --frozen-lockfile | ||
- name: Build | ||
run: yarn --cwd ./gauntlet build | ||
- name: Run Gauntlet | ||
run: yarn --cwd ./gauntlet gauntlet |