diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68e5ced7c..20a1625fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,23 @@ on: - master - 'renovate/*' jobs: + prod-build: + runs-on: ubuntu-18.04 + if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) + name: Production Build + steps: + - uses: actions/checkout@v2 + - run: yarn + - run: grunt shell:ember:prod + + - uses: daniellockyer/action-slack-build@master + if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master' + with: + status: ${{ job.status }} + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} test: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) strategy: matrix: