Skip to content

Enable Common EVA Automated Integration and End2End Tests #120

Enable Common EVA Automated Integration and End2End Tests

Enable Common EVA Automated Integration and End2End Tests #120

Workflow file for this run

name: 'npm jest'
on:
pull_request:
paths:
- '.github/**/*'
- 'src/modules/**.js'
jobs:
jest:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
# ------------------------------------------------------------------------------
# Setup Node.
# ------------------------------------------------------------------------------
- name: Check for .nvmrc file
id: check-nvmrc
run: echo "::set-output name=exists::$(test -f ${{ github.workspace }}/.nvmrc && echo 'true' || echo 'false')"
- uses: actions/setup-node@v3
if: steps.check-nvmrc.outputs.exists == 'true'
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install node modules
run: npm ci
- name: Run jest task
run: npm run jest