Skip to content

Commit d8ce10a

Browse files
authored
Comment out SWC test to speed up CI (#10470)
1 parent 8fd495f commit d8ce10a

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -73,37 +73,40 @@ jobs:
7373
- name: End2End Test Examples
7474
run: |
7575
EXAMPLE_TYPE=normal yarn examples:test:end2end
76-
dev-tests-swc:
77-
name: Examples - SWC
78-
runs-on: ubuntu-latest
79-
steps:
80-
- name: Checkout
81-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
82-
- name: Setup env
83-
uses: the-guild-org/shared-config/setup@main
84-
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
85-
with:
86-
toolchain: 1.65.0
87-
target: wasm32-wasi
88-
override: true
89-
- name: Build SWC plugin
90-
working-directory: ./packages/presets/swc-plugin
91-
run: |
92-
npm run build-wasm
93-
- name: Build
94-
run: yarn build
95-
env:
96-
CI: true
97-
- name: Generate and Diff Codegen Artifacts
98-
run: |
99-
EXAMPLE_TYPE=swc yarn examples:codegen
100-
git diff --exit-code -- examples/
101-
- name: Build Examples
102-
run: |
103-
EXAMPLE_TYPE=swc yarn examples:build
104-
- name: End2End Test Examples
105-
run: |
106-
EXAMPLE_TYPE=swc yarn examples:test:end2end
76+
77+
# TODO: Remove all SWC test setup and references as that has been moved to https://github.com/swc-project/plugins/tree/main/contrib/graphql-codegen-client-preset
78+
# dev-tests-swc:
79+
# name: Examples - SWC
80+
# runs-on: ubuntu-latest
81+
# steps:
82+
# - name: Checkout
83+
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
84+
# - name: Setup env
85+
# uses: the-guild-org/shared-config/setup@main
86+
# - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
87+
# with:
88+
# toolchain: 1.65.0
89+
# target: wasm32-wasi
90+
# override: true
91+
# - name: Build SWC plugin
92+
# working-directory: ./packages/presets/swc-plugin
93+
# run: |
94+
# npm run build-wasm
95+
# - name: Build
96+
# run: yarn build
97+
# env:
98+
# CI: true
99+
# - name: Generate and Diff Codegen Artifacts
100+
# run: |
101+
# EXAMPLE_TYPE=swc yarn examples:codegen
102+
# git diff --exit-code -- examples/
103+
# - name: Build Examples
104+
# run: |
105+
# EXAMPLE_TYPE=swc yarn examples:build
106+
# - name: End2End Test Examples
107+
# run: |
108+
# EXAMPLE_TYPE=swc yarn examples:test:end2end
109+
107110
esm:
108111
name: Testing exports integrity
109112
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)