Skip to content

Update run_tests.yaml #49

Update run_tests.yaml

Update run_tests.yaml #49

Workflow file for this run

---
name: Automation Tests Run
on:
workflow_dispatch:
jobs:
runTests:
name: 'Run WDIO Tests'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Check failure on line 12 in .github/workflows/run_tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/run_tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache Node Modules
id: node-cache
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: NPM Install
run: npm install
- name: Run WDIO tests
run: npm run run-tests