Skip to content

Commit c6aeb68

Browse files
authored
chore: add Next.js e2e tooling (#1773)
* chore: add Next.js e2e tooling * chore: upgrade * chore: make e2e test headless by default * chore: fix test * chore: update types
1 parent 6e4165b commit c6aeb68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+4730
-65
lines changed

.github/workflows/e2e-next.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Next.js e2e test suite
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
name: E2E tests
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Installing with LTS Node.js
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: 'lts/*'
18+
- name: NPM Install
19+
run: npm install
20+
- name: Run Next.js e2e test suite
21+
run: npm run test:next
22+
env:
23+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_BOT_AUTH_TOKEN }}
24+
NETLIFY_SITE_ID: 1d5a5c76-d445-4ae5-b694-b0d3f2e2c395

demos/nx-next-monorepo-demo/package-lock.json

+252
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)