Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support different working directory for server #429

Closed
wants to merge 1 commit into from

Conversation

alvaromartmart
Copy link

fixes #368

This PR adds a start-working-directory that allows setting a different dir for running the server start command. Useful for when you have a non-node server living in a different working directory than the one used for npm i, etc.

@CLAassistant
Copy link

CLAassistant commented Sep 27, 2021

CLA assistant check
All committers have signed the CLA.

@MikeMcC399 MikeMcC399 added the type: enhancement New feature or request label Nov 4, 2023
@jennifer-shehane
Copy link
Member

@MikeMcC399 Do you know if this is still relevant?

@MikeMcC399
Copy link
Collaborator

MikeMcC399 commented Jan 20, 2024

@jennifer-shehane

Do you know if this is still relevant?

name: E2E
on: push
jobs:
  test:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
      - name: Install dependencies
        uses: cypress-io/github-action@v6
        with:
          # just perform install
          runTests: false
      - run: yarn lint
      - name: Run e2e tests
        uses: cypress-io/github-action@v6
        with:
          # we have already installed all dependencies above
          install: false
          # Cypress tests and config file are in "e2e" folder
          working-directory: e2e

In the example above yarn lint would be replaced by instructions to start the server in a different directory.

      - run: yarn lint

@MikeMcC399
Copy link
Collaborator

Closing this stale PR for reasons as above.

@MikeMcC399 MikeMcC399 closed this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How Might One Specify Separate Working Directories for Start Parameter on Github Action
4 participants