Skip to content

chore: update CI configuration and add jest-junit reporter #43

chore: update CI configuration and add jest-junit reporter

chore: update CI configuration and add jest-junit reporter #43

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: gcloud
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npx jest --reporters=default --reporters=jest-junit
- name: Mergify CI Upload
if: success() || failure()
uses: mergifyio/gha-mergify-ci@v8
with:
job_name: justbecause_landing_test_node (${{ matrix.node-version }})
token: ${{ secrets.MERGIFY_TOKEN }}
report_path: junit.xml
- name: Build application
run: npm run build