Update workflow.yml
This commit is contained in:
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@@ -12,10 +12,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build lowlighter/metrics:${{ github.head_ref || github.base_ref }}
|
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||||
run: docker build -t lowlighter/metrics:${{ github.head_ref || github.base_ref }} .
|
run: docker build -t lowlighter/metrics:${{ github.head_ref || 'master' }} .
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: docker run --workdir=/metrics --entrypoint="" lowlighter/metrics:${{ github.head_ref || github.base_ref }} npm test
|
run: docker run --workdir=/metrics --entrypoint="" lowlighter/metrics:${{ github.head_ref || 'master' }} npm test
|
||||||
|
|
||||||
analyze:
|
analyze:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user