Skip to content

test: e2e with workflow #7

test: e2e with workflow

test: e2e with workflow #7

Workflow file for this run

name: E2E tests
on:
push:
branches: ['develop']
pull_request:
branches: ['develop']
jobs:
server:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# Install required deps for action
- name: Install Dependencies
run: npm install
- name: Run server
run: npm run fake
test:
needs: server
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# Install required deps for action
# - name: Install Dependencies
# run: npm install
# - name: Run server
# run: npm run fake
# Finally, run our tests
- name: Run E2E tests
run: npm run test:e2e