Skip to content

chore: add Next.js e2e tooling #1773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/e2e-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Next.js e2e test suite

on:
pull_request:
push:
branches: [main]

jobs:
test:
name: E2E tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Installing with LTS Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: NPM Install
run: npm install
- name: Run Next.js e2e test suite
run: npm run test:next
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_BOT_AUTH_TOKEN }}
NETLIFY_SITE_ID: 1d5a5c76-d445-4ae5-b694-b0d3f2e2c395
252 changes: 252 additions & 0 deletions demos/nx-next-monorepo-demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading