Skip to content

Commit

Permalink
test using prod binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Apr 12, 2023
1 parent a97d307 commit bbbe8d6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build_test_deploy_new.yml
Expand Up @@ -11,6 +11,7 @@ env:
PNPM_VERSION: 7.24.3
NODE_MAINTENANCE_VERSION: 16
NODE_LTS_VERSION: 18
TEST_CONCURRENCY: 10

jobs:
build:
Expand Down Expand Up @@ -50,26 +51,28 @@ jobs:

- run: pnpm build

- run: turbo build-native -- --target x86_64-unknown-linux-gnu
- run: turbo run build-native -- --release --target x86_64-unknown-linux-gnu

- run: pnpm playwright install-deps

- run: pnpm playwright install chromium

- run: git clean -xdf test; git checkout test;

- run: node run-tests.js --type development -c 5
- run: rm -rf /tmp/next-repo-*; rm -rf /tmp/next-install-*

- run: node run-tests.js --type development -c ${TEST_CONCURRENCY}
name: Run development/ tests

- run: node run-tests.js --type production -c 5
- run: node run-tests.js --type production -c ${TEST_CONCURRENCY}
name: Run production/ tests

- run: node run-tests.js --type e2e -c 5
- run: node run-tests.js --type e2e -c ${TEST_CONCURRENCY}
name: Run e2e dev tests
env:
NEXT_TEST_MODE: 'dev'

- run: node run-tests.js --type e2e -c 5
- run: node run-tests.js --type e2e -c ${TEST_CONCURRENCY}
name: Run e2e start tests
env:
NEXT_TEST_MODE: 'start'

0 comments on commit bbbe8d6

Please sign in to comment.