Fix windows EINVAL error #4
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: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "main" | |
- "hotfix-*" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 18, 20, 21 ] | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org/ | |
- run: npm config set script-shell powershell | |
if: runner.os == 'Windows' | |
- run: npm ci | |
- name: "Fetch & Unpack Allure Commandline from Maven Central" | |
run: ./fetch-source.sh | |
- run: npm run test |