Skip to content

Split eslint JXA config into own package #115

Split eslint JXA config into own package

Split eslint JXA config into own package #115

Workflow file for this run

name: tests
on: [push]
jobs:
test:
permissions:
checks: write
strategy:
matrix:
os: [macos-12, macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '21.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- run: mkdir -p reports
- name: Run tests
run: yarn workspace msda test --reporters=default --reporters=jest-junit
env:
JEST_JUNIT_INCLUDE_CONSOLE_OUTPUT: true
JEST_JUNIT_OUTPUT_FILE: reports/${{ matrix.os }}.xml
- name: Publish test results
uses: dorny/test-reporter@v1
if: ${{ always() }}
with:
name: test results (${{ matrix.os }})
path: packages/msda/reports/${{ matrix.os }}.xml
reporter: jest-junit