Skip to content

ci: continue on error #592

ci: continue on error

ci: continue on error #592

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- master
paths-ignore:
- "doc/**"
push:
paths-ignore:
- "doc/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint:ci
- name: Spellcheck
run: npm run spellcheck:ci
test:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:visual
continue-on-error: true
- name: archive visual outputs
uses: actions/upload-artifact@v3
with:
name: visual-test-results
path: |
tests/output
strategy:
fail-fast: false
matrix:
node:
- 20
os:
- ubuntu-latest
max-parallel: 1