Bump next from 12.0.7 to 14.1.0 #100
Workflow file for this run
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: Tests (End-to-End) | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
cypress: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' # Adjust the version as needed | |
- name: Install dependencies | |
run: yarn install | |
- name: Build the application | |
run: yarn build | |
- name: Start the application | |
run: yarn start & | |
- name: Wait for the application to start | |
run: npx wait-on http://localhost:3000 | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
env: | |
BASIQ_API_KEY: ${{ secrets.BASIQ_API_KEY }} | |
with: | |
wait-on: http://localhost:3000 |