Skip to content

Commit

Permalink
feat: publish-shared-types
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kalachikov committed Jul 5, 2024
1 parent 84437b8 commit f9db54c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/theme-shared-types-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
bump-version:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, 'publish-shared-types')
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -36,7 +37,7 @@ jobs:

build:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[publish-shared-types]')
if: contains(github.event.head_commit.message, 'publish-shared-types')
steps:
- name: Set up Node 20
uses: actions/setup-node@v4
Expand All @@ -59,7 +60,7 @@ jobs:
publish-npm:
needs: build
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[publish-shared-types]')
if: contains(github.event.head_commit.message, 'publish-shared-types')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion shared-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export type {
CustomerOrderType,
LineItemType,
OrderLineItemType,
Product,
VariationType,
Product,
} from "../client-app/core/api/graphql/types.js";
export type { LoggerType } from "../client-app/core/utilities/logger/logger.type.js";
export type { ICurrency } from "../client-app/core/types/currency.js";

0 comments on commit f9db54c

Please sign in to comment.