diff options
author | Martin Schulze <martin.schulze@vireso.de> | 2022-10-22 23:46:17 +0300 |
---|---|---|
committer | Martin Schulze <martin.schulze@vireso.de> | 2022-10-23 01:41:30 +0300 |
commit | 58236f42c8fc47d5d3f708d54b93b5583a50fd87 (patch) | |
tree | 2f28f86ea09029523444cc731c4be9767315e0b9 | |
parent | 5baa72044f69371daa52d216928d8d6771030f28 (diff) |
Simplify triggers
-rw-r--r-- | .github/workflows/tests.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5b84fa5..ad332f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ name: Tests on: push: - branches: [ master ] + workflow_dispatch: pull_request: branches: [ master ] @@ -13,8 +13,6 @@ jobs: build: runs-on: ubuntu-latest - env: - BATS_LIB_PATH: /usr/lib/npm/node_modules steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -24,5 +22,5 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install --loglevel verbose - - run: npm test + - run: npm install + - run: BATS_LIB_PATH="$PWD/node_modules" npm test |