Skip to content

Commit

Permalink
Merge pull request #691 from Shopify/javascript_updates
Browse files Browse the repository at this point in the history
Convert template to Javascript
  • Loading branch information
paulomarg authored Apr 26, 2024
2 parents 10554e3 + 39231bc commit 0d03107
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion app/routes/app._index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0d03107

Please sign in to comment.