Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit graphql generated artifacts #1642

Merged
merged 4 commits into from
Nov 27, 2024
Merged
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
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
],
"language": "en-US",
"useGitignore": true,
"ignorePaths": ["**/graphql.ts", "**/CHANGELOG.md", "**/schema.graphql"]
"ignorePaths": ["**/graphql.ts", "**/CHANGELOG.md", "**/schema.graphql", "**/generated/types.ts"]
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/generated/ linguist-generated=true
krzysztofzuraw marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 0 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
E2E_USER_NAME: "op://Shop-ex/saleor-app-avatax-e2e-${{ env.SALEOR_VERSION }}/E2E_USER_NAME"
E2E_USER_PASSWORD: "op://Shop-ex/saleor-app-avatax-e2e-${{ env.SALEOR_VERSION }}/E2E_USER_PASSWORD"
SECRET_KEY: "op://Shop-ex/saleor-app-avatax-e2e-${{ env.SALEOR_VERSION }}/SECRET_KEY"
- name: Generate GraphQL files
run: pnpm --filter=app-avatax generate
- name: Run e2e tests
run: pnpm --filter=app-avatax e2e
# TODO: Add HTML report: https://linear.app/saleor/issue/SHOPX-304
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
with:
run_install: |
- args: [--frozen-lockfile]
- name: Generate GraphQL types
run: pnpm generate
- name: Check linter
run: pnpm lint
- name: Check types
run: pnpm check-types
- name: Check package dependencies
run: pnpm lint:packages
- name: Check for changes in graphql files
run: |
pnpm generate
git diff --name-status --exit-code .

test:
runs-on: ubuntu-22.04
Expand All @@ -40,7 +42,5 @@ jobs:
with:
run_install: |
- args: [--frozen-lockfile]
- name: Generate GraphQL types
run: pnpm generate
- name: Run tests
run: pnpm test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ yarn-error.log*

.saleor-app-auth.json
coverage/
apps/**/generated
.eslintcache

.sentryclirc
Expand Down
635 changes: 635 additions & 0 deletions apps/avatax/e2e/generated/graphql.ts

Large diffs are not rendered by default.

Loading