Skip to content

fix: make rules behave consistently on win32 #36

fix: make rules behave consistently on win32

fix: make rules behave consistently on win32 #36

Workflow file for this run

jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
node: [18, 20]
runs-on: ${{ matrix.os }}
name: Test
steps:
- name: setup runner
if: ${{matrix.os == 'windows-latest'}}
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: setup repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
timeout-minutes: 10
name: Test and build
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_call: