Skip to content

Merge pull request #201 from xt0rted/xt0rted-patch-1 #317

Merge pull request #201 from xt0rted/xt0rted-patch-1

Merge pull request #201 from xt0rted/xt0rted-patch-1 #317

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_COLOR: 2
jobs:
test:
name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node:
- 18
- 20
- current
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
# Integration tests
- uses: xt0rted/[email protected]
- name: Install integration test dependencies
run: npm install
working-directory: test
- name: Run integration tests - stringFormatter
run: npm run test:string
working-directory: test
- name: Run integration tests - verboseFormatter
run: npm run test:verbose
working-directory: test