Skip to content

Add shell:true when running tests on Windows #3

Add shell:true when running tests on Windows

Add shell:true when running tests on Windows #3

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18, 20]
exclude:
- os: ubuntu-latest
node-version: 20
- os: windows-latest
node-version: 18
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node ${{ matrix.node-version }}.x
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}.x
- name: rush install
run: node common/scripts/install-run-rush.js install
- name: rush build
run: node common/scripts/install-run-rush.js build --verbose
- name: rush lint
run: node common/scripts/install-run-rush.js lint
- name: rush test
run: node common/scripts/install-run-rush.js test
- name: rush regen-ruleindex
run: node common/scripts/install-run-rush.js regen-ruleindex