Skip to content

Bump xo from 0.54.2 to 0.55.0 #1158

Bump xo from 0.54.2 to 0.55.0

Bump xo from 0.54.2 to 0.55.0 #1158

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
permissions:
contents: read
jobs:
test:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: ['14.14', 16, 18, 20]
os: [ubuntu-latest, windows-latest]
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm run test-ci
- name: Run CLI tests
run: npm run test:cli
id: cli_tests
continue-on-error: true
- name: Check CLI tests' status
shell: bash
run: |
if [[ ${{ steps.cli_tests.outcome }} == "failure" ]]; then exit 0; else exit 1; fi