Skip to content

Commit

Permalink
fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 6, 2023
1 parent 9b8e163 commit c443106
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ env:
jobs:
build:
name: build
uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
secrets: inherit

lint:
name: lint
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
afterBuild: pnpm lint-no-typescript && pnpm check-examples
secrets: inherit
Expand All @@ -43,7 +43,7 @@ jobs:
name: types and precompiled
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
afterBuild: pnpm types-and-precompiled
skipForDocsOnly: 'yes'
Expand All @@ -53,7 +53,7 @@ jobs:
name: test cargo unit
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
skipInstallBuild: 'yes'
Expand All @@ -64,7 +64,7 @@ jobs:
name: rust check
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
skipInstallBuild: 'yes'
Expand All @@ -74,7 +74,7 @@ jobs:
test-turbopack-dev:
name: test turbopack dev
needs: ['build']
uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/packages/next-swc/crates/next-dev-tests/tests-manifest.js" __INTERNAL_NEXT_DEV_TEST_TURBO_DEV=TRUE __INTERNAL_CUSTOM_TURBOPACK_BINDINGS="$(pwd)/packages/next-swc/native/next-swc.linux-x64-gnu.node" __INTERNAL_NEXT_DEV_TEST_TURBO_GLOB_MATCH="*" NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --type development --timings -c ${TEST_CONCURRENCY}
Expand All @@ -84,7 +84,7 @@ jobs:
name: test next-swc wasm
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
afterBuild: rustup target add wasm32-unknown-unknown && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && node ./scripts/normalize-version-bump.js && turbo run build-wasm -- --target nodejs --features tracing/release_max_level_info && git checkout . && mv packages/next-swc/crates/wasm/pkg packages/next-swc/crates/wasm/pkg-nodejs && node ./scripts/setup-wasm.mjs && NEXT_TEST_MODE=start TEST_WASM=true node run-tests.js test/integration/production/test/index.test.js test/e2e/streaming-ssr/index.test.ts
Expand All @@ -98,7 +98,7 @@ jobs:
matrix:
group: [1, 2, 3]

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
afterBuild: NEXT_TEST_MODE=dev node run-tests.js --timings -g ${{ matrix.group }}/3 -c ${TEST_CONCURRENCY} --test-pattern '^(development|e2e|unit)/.*\.test\.(js|jsx|ts|tsx)$'
Expand All @@ -112,7 +112,7 @@ jobs:
matrix:
group: [1, 2, 3]

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
afterBuild: NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }}/3 -c ${TEST_CONCURRENCY} --test-pattern '^(production|e2e)/.*\.test\.(js|jsx|ts|tsx)$'
Expand All @@ -126,7 +126,7 @@ jobs:
matrix:
group: [1, 2, 3, 4, 5, 6]

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
nodeVersion: 16
skipForDocsOnly: 'yes'
Expand All @@ -137,7 +137,7 @@ jobs:
name: test firefox and safari
needs: ['build']

uses: ./.github/workflows/build_reusable.yml@canary
uses: ./.github/workflows/build_reusable.yml
with:
skipForDocsOnly: 'yes'
afterBuild: pnpm playwright install && BROWSER_NAME=firefox node run-tests.js test/integration/production/test/index.test.js && BROWSER_NAME=safari NEXT_TEST_MODE=start node run-tests.js -c 1 test/integration/production/test/index.test.js test/e2e/basepath.test.ts && BROWSER_NAME=safari DEVICE_NAME='iPhone XR' node run-tests.js -c 1 test/production/prerender-prefetch/index.test.ts
Expand Down

0 comments on commit c443106

Please sign in to comment.