Update next.config.js to dynamically display the port number in devel… #473
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e | |
on: [push] | |
jobs: | |
cypress-run: | |
name: Cypress run | |
runs-on: ubuntu-20.04 | |
environment: test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
env: | |
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }} | |
MAILCHIMP_AUDIENCE_ID: ${{ secrets.MAILCHIMP_AUDIENCE_ID }} | |
with: | |
build: npm run build | |
start: npm run start | |
wait-on: http://localhost:3000 |