Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/validate-js-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
run: yarn
- name: Generate types
run: yarn js-typegen
- name: Create app toml for Shopify CLI
run: echo 'scopes = ""' > shopify.app.toml
- name: Install Shopify CLI
run: npm install -g @shopify/cli@latest
- name: Run Wasm tests
run: yarn js-test
8 changes: 8 additions & 0 deletions .github/workflows/validate-rust-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ jobs:
run: cargo test
- name: Build with wasm32-unknown-unknown target
run: cargo build --release --target wasm32-unknown-unknown
- name: Create app toml for Shopify CLI
run: echo 'scopes = ""' > shopify.app.toml
- name: Install Shopify CLI
run: npm install -g @shopify/cli@latest
- name: Install test dependencies
run: yarn
- name: Run Wasm tests
run: yarn rs-test
6 changes: 6 additions & 0 deletions .github/workflows/validate-ts-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
run: yarn
- name: Generate types
run: yarn js-typegen
- name: Create app toml for Shopify CLI
run: echo 'scopes = ""' > shopify.app.toml
- name: Install Shopify CLI
run: npm install -g @shopify/cli@latest
- name: Run Wasm tests
run: yarn js-test
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"expand-liquid": "node .github/scripts/expand-liquid.js",
"js-typegen": "yarn workspaces run graphql-code-generator --config package.json",
"js-test": "yarn workspaces run test run",
"js-test:unit": "yarn workspaces run test:unit"
"js-test:unit": "yarn workspaces run test:unit",
"rs-test": "yarn workspaces run test run"
},
"private": true,
"workspaces": ["functions-*-js"]
"workspaces": ["functions-*-js", "functions-*-rs"]
}
Loading