Skip to content

Bump micromatch from 4.0.4 to 4.0.8 #58

Bump micromatch from 4.0.4 to 4.0.8

Bump micromatch from 4.0.4 to 4.0.8 #58

Workflow file for this run

name: Run Shell Tests
on:
pull_request:
jobs:
shell-tests:
runs-on: ${{ matrix.os }}
env:
TERM: xterm
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-22.04
- windows-2022
node-version:
- '18'
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
# Run a few iterations of leia tests
- name: Test macOS shells from
if: ${{ runner.os == 'macOS' }}
run: |
npx leia examples/basic-example.md --debug
npx leia examples/basic-example.md --shell bash --debug
npx leia examples/basic-example.md --shell zsh --debug
npx leia examples/basic-example.md --shell sh --debug
- name: Test Linux shells
if: ${{ runner.os == 'Linux' }}
run: |
npx leia examples/basic-example.md --debug
npx leia examples/basic-example.md --shell bash --debug
npx leia examples/basic-example.md --shell sh --debug
- name: Test Windows BASH
if: ${{ runner.os == 'Windows' }}
shell: bash
run: |
npx leia examples/basic-cmd-example.md --debug
npx leia examples/basic-cmd-example.md --shell cmd --debug
npx leia examples/basic-pwsh-example.md --shell pwsh --debug
npx leia examples/basic-pwsh-example.md --shell powershell --debug
npx leia examples/basic-pwsh-example.md --shell powershell --stdin --debug
- name: Test Windows SHELLS
if: ${{ runner.os == 'Windows' }}
run: |
npx leia examples/basic-cmd-example.md --debug
npx leia examples/basic-cmd-example.md --shell cmd --debug
npx leia examples/basic-pwsh-example.md --shell pwsh --debug
npx leia examples/basic-pwsh-example.md --shell powershell --debug
npx leia examples/basic-pwsh-example.md --shell powershell --stdin --debug