Skip to content

Commit

Permalink
Fixing Ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed May 15, 2024
1 parent 89d2c8a commit b9ed59a
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/actions/build-gauntlet/action.yml
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

0 comments on commit b9ed59a

Please sign in to comment.