disable test e2e

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