Skip to content

Commit

Permalink
Merge branch 'main' into december-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-alexsaiannyi committed Dec 7, 2023
2 parents 01f2755 + c3cc1a4 commit 1bd4045
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Cancel running workflows
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}
- name: Checkout repo
uses: actions/checkout@v4
- name: Set node version
Expand Down
2 changes: 1 addition & 1 deletion components/cart/actions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use server';

import { addToCart, removeFromCart, updateCart } from 'lib/bigcommerce';
import { TAGS } from 'lib/constants';
import { addToCart, removeFromCart, updateCart } from 'lib/bigcommerce';
import { revalidateTag } from 'next/cache';
import { cookies } from 'next/headers';

Expand Down
6 changes: 0 additions & 6 deletions lib/bigcommerce/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,7 @@ export type DigitalOrPhysicalItem = {

export type CartCustomItem = {
entityId: string;
<<<<<<< HEAD
productEntityId: undefined;
=======
>>>>>>> b17652b (feat: project initial setup)
sku: string;
name: string;
quantity: number;
Expand All @@ -505,10 +502,7 @@ export type CartCustomItem = {

type CartGiftCertificate = {
entityId: number;
<<<<<<< HEAD
productEntityId: undefined;
=======
>>>>>>> b17652b (feat: project initial setup)
name: string;
amount: BigCommerceMoney;
isTaxable: boolean;
Expand Down
52 changes: 31 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1bd4045

Please sign in to comment.