Skip to content

f

f #222

Workflow file for this run

name: "[C]ontinuous [I]ntegration"
on:
push:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test:
name: npm test
uses: percebus/github-actions-npm/.github/workflows/test.yml@main
with:
reporter: jest-junit
files_pattern: junit.xml
list-tests: all
testem:
if: false # FIXME not working
name: "test'em"
needs: test
uses: percebus/github-actions-npm/.github/workflows/run_script.yml@main
with:
script: testem:ci:dot
tests:
# if: github.ref == 'refs/heads/main'
needs: test
strategy:
fail-fast: false
max-parallel: 6
matrix:
# SRC: https://nodejs.org/en/about/previous-releases
node-version:
# - 16
# - 17
# - 18
# # - 'lts/Hydrogen' # 18: CodeName.- Hydrogen
# - 19
# - 20
# - '' # Maintenance LTS: default (20 as of 2025-10-11)
# - 21
# - 22
# - 'lts/*' # Active LTS: 22 as of 2025-10-11
# - 23
# - 24 # Current
- 'node' # 24
os:
- ubuntu-latest
- macOS-latest
- windows-latest
uses: percebus/github-actions-npm/.github/workflows/test.yml@main
name: npm test @ node:${{ matrix.node-version }}@${{ matrix.os }}
with:
runs-on: ${{ matrix.os }}
node-version: ${{ matrix.node-version }}
reporter: jest-junit
files_pattern: junit.xml
tests_name: Tests Results @ node:${{ matrix.node-version }}@${{ matrix.os }}
summary_title: ""
publish-test-deltas: "false"
tests_unstable:
if: github.ref == 'refs/heads/main'
needs: test
strategy:
fail-fast: false
max-parallel: 6
matrix:
node-version:
# - 24
# SRC: https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#nightly-versions
- '24-nightly'
# SRC: https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#v8-canary-versions
- '24-v8-canary'
- 'latest' # 24 as of 2025-10-11
os:
- ubuntu-latest
- macOS-latest
- windows-latest
exclude:
- os: windows-latest
node-version: '24-v8-canary' # TODO? not found
uses: percebus/github-actions-npm/.github/workflows/test.yml@main
name: npm test @ node:${{ matrix.node-version }}@${{ matrix.os }}
with:
runs-on: ${{ matrix.os }}
node-version: ${{ matrix.node-version }}
reporter: jest-junit
files_pattern: junit.xml
tests_name: Tests Results @ node:${{ matrix.node-version }}@${{ matrix.os }}
summary_title: ""
publish-test-deltas: "false"