diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..8181f207 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +on: [push, pull_request] + +name: CI + +jobs: + CI: + name: CI_Node_${{ matrix.version }} + runs-on: ubuntu-latest + strategy: + matrix: + version: [18, 20] + steps: + - uses: actions/checkout@master + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.version }} + - name: Install + run: yarn install diff --git a/app/routes/app._index.jsx b/app/routes/app._index.jsx index 4d803344..6986c891 100644 --- a/app/routes/app._index.jsx +++ b/app/routes/app._index.jsx @@ -61,7 +61,7 @@ export const action = async ({ request }) => { responseJson.data.productCreate.product.variants.edges[0].node.id; const variantResponse = await admin.graphql( `#graphql - mutation updateVariant($input: ProductVariantInput!) { + mutation shopifyRemixTemplateUpdateVariant($input: ProductVariantInput!) { productVariantUpdate(input: $input) { productVariant { id diff --git a/package.json b/package.json index c0c86c77..31140537 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "@shopify/app": "^3.57.1", "@shopify/cli": "^3.57.1", "@shopify/polaris": "^12.0.0", - "@shopify/shopify-api": "^9.5.1", - "@shopify/shopify-app-remix": "^2.5.0", - "@shopify/shopify-app-session-storage-prisma": "^4.0.2", + "@shopify/shopify-api": "^10.0.0", + "@shopify/shopify-app-remix": "^2.8.2", + "@shopify/shopify-app-session-storage-prisma": "^4.0.5", "isbot": "^5.1.0", "prisma": "^5.11.0", "react": "^18.2.0",