From 43875d9d7dcdaeb67a28b67e23be3ec83616685e Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Wed, 30 Dec 2020 00:50:28 +0100 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 407313f8..584a1547 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,10 +12,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - name: Build lowlighter/metrics:${{ github.head_ref || github.base_ref }} - run: docker build -t 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 || 'master' }} . - 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: runs-on: ubuntu-latest