Skip to content

Commit

Permalink
ci(package): refactor workflows (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Jul 17, 2024
1 parent cb6577a commit 62edfbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:

- name: ${{ inputs.name }} build
run: yarn workspace @morpho-org/${{ inputs.name }} build
shell: bash

jest:
runs-on: ubuntu-latest
Expand All @@ -38,7 +37,6 @@ jobs:
cache: yarn

- run: yarn workspace @morpho-org/${{ inputs.name }} jest --passWithNoTests
shell: bash

hardhat:
runs-on: ubuntu-latest
Expand All @@ -58,6 +56,5 @@ jobs:
key: hardhat-${{ inputs.name }}-${{ github.ref_name }}

- run: yarn workspace @morpho-org/${{ inputs.name }} hardhat test --bail
shell: bash
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
fail-fast: false
matrix:
package:
- name: "@morpho-org/morpho-ts"
- name: morpho-ts
jest: true
- name: "@morpho-org/morpho-test"
- name: "@morpho-org/blue-sdk"
- name: morpho-test
- name: blue-sdk
jest: true
- name: "@morpho-org/blue-sdk-ethers"
- name: blue-sdk-ethers
jest: true
hardhat: true
- name: "@morpho-org/blue-sdk-viem"
- name: blue-sdk-viem
hardhat: true

uses: ./.github/workflows/package.yml
Expand Down

0 comments on commit 62edfbb

Please sign in to comment.