Skip to content

Commit

Permalink
CI: Split npm commands
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed May 30, 2024
1 parent cba81e0 commit f27d259
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,13 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
- run: npm pack ./
- run: sudo npm install --loglevel verbose -g ./bats-*.tgz
- name: Run test on OS ${{ matrix.os }}
shell: 'script -q -e -c "bash {0}"' # work around tty issues
env:
TERM: linux # fix tput for tty issue work around
run: |
npm pack ./
sudo npm install -g ./bats-*.tgz
bats test --print-output-on-failure
run: bats test --print-output-on-failure

windows:
runs-on: windows-2019
Expand Down

0 comments on commit f27d259

Please sign in to comment.