Skip to content

test: add missing e2e tests #5

test: add missing e2e tests

test: add missing e2e tests #5

Workflow file for this run

name: Test
on:
push:
branches: main
pull_request:
workflow_dispatch:
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest-16-core
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run test
e2e-tests:
name: E2E tests
runs-on: ubuntu-latest-16-core
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run test:e2e
env:
REDIS_HOST: ${{ var.REDIS_HOST }}

Check failure on line 42 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 42, Col: 23): Unrecognized named-value: 'var'. Located at position 1 within expression: var.REDIS_HOST .github/workflows/test.yml (Line: 43, Col: 23): Unrecognized named-value: 'var'. Located at position 1 within expression: var.REDIS_PORT
REDIS_PORT: ${{ var.REDIS_PORT }}