Skip to content

Commit 58236f4

Browse files
Simplify triggers
1 parent 5baa720 commit 58236f4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ name: Tests
55

66
on:
77
push:
8-
branches: [ master ]
8+
workflow_dispatch:
99
pull_request:
1010
branches: [ master ]
1111

1212
jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16-
env:
17-
BATS_LIB_PATH: /usr/lib/npm/node_modules
1816
steps:
1917
- uses: actions/checkout@v2
2018
- uses: actions/setup-node@v2
@@ -24,5 +22,5 @@ jobs:
2422
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2523
restore-keys: |
2624
${{ runner.os }}-node-
27-
- run: npm install --loglevel verbose
28-
- run: npm test
25+
- run: npm install
26+
- run: BATS_LIB_PATH="$PWD/node_modules" npm test

0 commit comments

Comments
 (0)