Skip to content

Scully Doesn't work with Github Actions {Tried with --host as well}  #461

@dr5hn

Description

@dr5hn

🐞 Bug report

Description

There's some issue with scully, it doesn't build up while running inside github actions.

🔬 Minimal Reproduction

.github/workflows/build.yml

name: Angular Build Test

on:
  pull_request:
    branches:
      - develop

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x]

    steps:
      - uses: actions/checkout@v1

      - name: Cache node modules
        uses: actions/cache@v1
        with:
          path: ~/.npm
          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-

      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}

      - name: Install
        run: npm ci

      - name: Build
        run: npm run build:prod --if-present

      - name: Scully
        run: npm run scully -- --host='0.0.0.0'

💻Your Environment

Angular Version:

9.1.0

Scully Version:

6.13.4

🔥 Exception or Error

> ***@5.0.0 scully /home/runner/work/***/***
> scully "--host=0.0.0.0"

 ☺   new Angular build imported
 ☺   Started servers in background
Could not connect to server
npm ERR! code ELIFECYCLE
npm ERR! errno 15
npm ERR! ***@5.0.0 scully: `scully "--host=0.0.0.0"`
npm ERR! Exit status 15
npm ERR! 
npm ERR! Failed at the ***@5.0.0 scully script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2020-04-13T06_08_54_188Z-debug.log
##[error]Process completed with exit code 15.

🔥 Screenshots

Screenshot 2020-04-13 at 12 02 31 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions