Skip to content

Commit 2e7b93a

Browse files
committed
Fix workflow tests with docker image
1 parent f95c926 commit 2e7b93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Run tests
5050
env:
5151
GIT_REF: ${{ github.head_ref || 'master' }}
52-
run: docker run --rm --entrypoint="" lowlighter/metrics:$(echo $GIT_REF | sed 's/[^a-z]/-/g') npm run test-metrics
52+
run: docker run --rm --entrypoint="" lowlighter/metrics:$(echo $GIT_REF | sed 's/[^a-z]/-/g') sh -xc 'npm install --no-save && exec npm run test-metrics'
5353

5454
# Run CodeQL on branch
5555
analyze:

0 commit comments

Comments
 (0)