Unverified Commit a5269cf0 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent 75c76ea7
......@@ -1220,14 +1220,10 @@ jobs:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- name: Check non-docs only change
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --type docs --exec echo 'yep')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
id: docs-change
- run: echo "${{ steps.docs-chang.outputs.DOCS_CHANGE }}"
- run: echo "${{needs.build.outputs.docsChange == 'nope'}}"
- name: Install
if: ${{ steps.docs-chang.outputs.DOCS_CHANGE != 'yep' }}
if: ${{needs.build.outputs.docsChange == 'nope'}}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
......@@ -1239,12 +1235,12 @@ jobs:
- name: Build tests
timeout-minutes: 60
run: cd packages/next-swc && cargo nextest run -p next-dev-tests --release --no-run
if: ${{ steps.docs-chang.outputs.DOCS_CHANGE != 'yep' }}
if: ${{needs.build.outputs.docsChange == 'nope'}}
- name: Run tests
timeout-minutes: 20
run: cd packages/next-swc && cargo nextest run -p next-dev-tests --release --no-fail-fast
if: ${{ steps.docs-chang.outputs.DOCS_CHANGE != 'yep' }}
if: ${{needs.build.outputs.docsChange == 'nope'}}
test-wasm:
name: Test the wasm build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment