Skip to content

Commit

Permalink
Commit graphql generated artifacts (#1642)
Browse files Browse the repository at this point in the history
* Commit graphql generated artifacts

* improve cicd

* regenrate graphql
  • Loading branch information
lkostrowski authored Nov 27, 2024
1 parent 83ad653 commit f16beb2
Show file tree
Hide file tree
Showing 24 changed files with 334,982 additions and 20 deletions.
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
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

0 comments on commit f16beb2

Please sign in to comment.