Skip to content

Updated instructions, simplified pre-commit CI action #50

Updated instructions, simplified pre-commit CI action

Updated instructions, simplified pre-commit CI action #50

Workflow file for this run

name: Codebase tests (Jest)
on:
pull_request:
types: [opened, edited, reopened, synchronize]
push:
branches: [ master ]
jobs:
codebase-tests:
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Install dependencies
run: npm install --no-progress --no-update-notifier
- name: Run tests
run: npm test
- name: Publish Test Report
uses: actions/upload-artifact@v3
if: always()
with:
name: junit-report
path: reports/report.xml