Hello! I have this workflow:
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
container: node:12.16.1-stretch
services:
mongodb:
image: "mongo:4.0.17"
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn test
The yarn test command expects to find a mongodb service listening on 27017, but running act the command fails with MongooseServerSelectionError: getaddrinfo ENOTFOUND mongodb. The same workflow succeeds on GitHub.
I've also tried -P ubuntu-latest=nektos/act-environments-ubuntu:18.04, any help is very appreciated :)
Hello! I have this workflow:
The
yarn testcommand expects to find a mongodb service listening on 27017, but running act the command fails withMongooseServerSelectionError: getaddrinfo ENOTFOUND mongodb. The same workflow succeeds on GitHub.I've also tried
-P ubuntu-latest=nektos/act-environments-ubuntu:18.04, any help is very appreciated :)