Skip to content

Commit

Permalink
add build workflow to reproduce einval problem
Browse files Browse the repository at this point in the history
  • Loading branch information
epszaw committed Apr 24, 2024
1 parent aadec29 commit 5215ed7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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 ci
- name: "Fetch & Unpack Allure Commandline from Maven Central"
run: ./fetch-source.sh
- run: npm run test
16 changes: 14 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"index.js"
],
"scripts": {
"test": "./bin/allure --version"
"test": "node ./bin/allure --version"
},
"repository": "https://github.com/allure-framework/allure-npm.git",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5215ed7

Please sign in to comment.