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 b9ed59a commit 1f33e14
Showing 1 changed file with 23 additions and 26 deletions.
49 changes: 23 additions & 26 deletions .github/actions/build-gauntlet/action.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
name: Install gauntlet dependencies
description: A GitHub Action to get tool versions and build Gauntlet

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
runs:
using: 'composite'
steps:
- name: Checkout Repository
uses: actions/[email protected]

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
- name: Get Tool Versions
uses: smartcontractkit/[email protected]
id: tool-versions

- name: Setup Node ${{ steps.tool-versions.outputs.nodejs_version }}
uses: actions/[email protected]
with:
node-version: ${{ steps.tool-versions.outputs.nodejs_version }}

- name: Install Dependencies
run: yarn --cwd ./gauntlet install --frozen-lockfile

- name: Build Gauntlet
run: yarn --cwd ./gauntlet build

- name: Run Gauntlet
run: yarn --cwd ./gauntlet gauntlet

0 comments on commit 1f33e14

Please sign in to comment.