disable test e2e

parent 0ddb6c64
......@@ -978,56 +978,56 @@ jobs:
- run: ./scripts/publish-native.js $GITHUB_REF
- run: ./scripts/publish-release.js
testDeployE2E:
name: E2E (deploy)
runs-on: ubuntu-latest
needs: [publishRelease, build, build-native-test]
env:
NEXT_TELEMETRY_DISABLED: 1
NEXT_TEST_JOB: 1
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
VERCEL_TEST_TEAM: 'vtest314-next-e2e-tests'
NEXT_TEST_MODE: deploy
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
check-latest: true
- uses: actions/cache@v3
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- uses: actions/download-artifact@v3
if: ${{needs.build.outputs.docsChange == 'nope'}}
with:
name: next-swc-test-binary
path: packages/next-swc/native
- run: npm i -g pnpm@${PNPM_VERSION}
name: Install pnpm
- run: npm i -g playwright-chromium@1.22.2 && npx playwright install-deps
name: Install playwright dependencies
- run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs
name: Reset test project
- run: node run-tests.js --type e2e
name: Run test/e2e (deploy)
- name: Upload test trace
if: always()
uses: actions/upload-artifact@v3
with:
name: test-trace
if-no-files-found: ignore
retention-days: 2
path: |
test/traces
# testDeployE2E:
# name: E2E (deploy)
# runs-on: ubuntu-latest
# needs: [publishRelease, build, build-native-test]
# env:
# NEXT_TELEMETRY_DISABLED: 1
# NEXT_TEST_JOB: 1
# VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
# VERCEL_TEST_TEAM: 'vtest314-next-e2e-tests'
# NEXT_TEST_MODE: deploy
# steps:
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# check-latest: true
# - uses: actions/cache@v3
# id: restore-build
# with:
# path: ./*
# key: ${{ github.sha }}-${{ github.run_number }}
# - uses: actions/download-artifact@v3
# if: ${{needs.build.outputs.docsChange == 'nope'}}
# with:
# name: next-swc-test-binary
# path: packages/next-swc/native
# - run: npm i -g pnpm@${PNPM_VERSION}
# name: Install pnpm
# - run: npm i -g playwright-chromium@1.22.2 && npx playwright install-deps
# name: Install playwright dependencies
# - run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs
# name: Reset test project
# - run: node run-tests.js --type e2e
# name: Run test/e2e (deploy)
# - name: Upload test trace
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: test-trace
# if-no-files-found: ignore
# retention-days: 2
# path: |
# test/traces
releaseStats:
name: Release Stats
......
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