Skip to content

feat: Add toggleNewlineChars command #52

feat: Add toggleNewlineChars command

feat: Add toggleNewlineChars command #52

Workflow file for this run

# Derived from https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions
# Retries from https://github.com/marketplace/actions/retry-step
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout/install
uses: adamhamlin/checkout-node-project@v0.1.0
with:
node-version: 16.x
- name: Run Tests (Linux)
if: runner.os == 'Linux'
uses: nick-fields/retry@v2.8.1
with:
command: xvfb-run -a npm run test:ci
max_attempts: 3
timeout_minutes: 6
env:
VEXT_TESTING: true
- name: Run Tests (MacOS/Windows)
if: runner.os != 'Linux'
uses: nick-fields/retry@v2.8.1
with:
# Only run `npm run test:ci` for linux, c8 coverage doesn't work right on windows...
command: npm test
max_attempts: 3
timeout_minutes: 6
env:
VEXT_TESTING: true