fix: stop command not working on Windows OS #294
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
node-version: ['18.x', '20.x', '22.x'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install | |
run: npm ci | |
- name: Lint | |
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x' | |
run: npm run lint | |
- name: Types | |
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x' | |
run: node_modules/.bin/tsc | |
- name: Prettier | |
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x' | |
run: npm run prettier:check | |
- name: Test | |
run: npm test | |
- name: Integration Tests | |
run: npm run test:integration -- --timeout=10000 |