Skip to content

Commit

Permalink
Merge branch 'v-next' into generic-chain-type-rename
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado authored Oct 27, 2024
2 parents 70badde + 24d1706 commit 926db46
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions .github/workflows/v-next-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,35 @@ on:
branches:
- v-next
pull_request:
# TODO: Remove the filter when v-next is merged into main
branches:
- v-next
workflow_dispatch:

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
is-v-next:
runs-on: ubuntu-latest
outputs:
is_v_next: ${{ steps.check.outputs.folder_exists }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check if the folder v-next exists
id: check
run: |
if [ -d "./v-next" ]; then
echo "folder_exists=true" >> $GITHUB_OUTPUT
else
echo "folder_exists=false" >> $GITHUB_OUTPUT
fi
check_dependencies:
name: Check dependency versions
needs: is-v-next
if: ${{ needs.is-v-next.outputs.is_v_next == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -29,6 +46,8 @@ jobs:

check_npm_scripts:
name: Check that the npm scripts are consistent
needs: is-v-next
if: ${{ needs.is-v-next.outputs.is_v_next == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -40,6 +59,8 @@ jobs:

list-packages:
name: List packages
needs: is-v-next
if: ${{ needs.is-v-next.outputs.is_v_next == 'true' }}
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.filter.outputs.changes }}
Expand Down Expand Up @@ -91,7 +112,7 @@ jobs:
strategy:
fail-fast: false
matrix:
package: ['hardhat']
package: ["hardhat"]

name: "[${{ matrix.package }}] bundle"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 926db46

Please sign in to comment.