Giter Club home page Giter Club logo

Comments (5)

rodrigonehring avatar rodrigonehring commented on May 18, 2024 21

@tristanbes "working-directory" doesn't work with "uses", must be within "with"

from github-action.

tristanbes avatar tristanbes commented on May 18, 2024

I'm experiencing the same issue. I must run the tests from subdirectory sites/

            - name: Run Cypress
              if: startsWith(github.head_ref, 'dependabot') != true
              uses: cypress-io/github-action@v1
              with:
                  record: true
                  parallel: true
                  group: ${{ matrix.cypress.group }}
                  spec: ${{ matrix.cypress.spec }}
              working-directory: sites

It outputs:

### ERRORED 11:53:50Z

- Your workflow file was invalid: The pipeline is not valid. .github/workflows/ci.yml (Line: 333, Col: 15): Unexpected value 'working-directory',.github/workflows/ci.yml (Line: 340, Col: 15): Unexpected value 'working-directory'

from github-action.

bahmutov avatar bahmutov commented on May 18, 2024

@shicholas can you please describe your folder structure. Is it

root/
  .github/workflows/...
  web/
    package.json with "dev" script

and you need to run npm run dev in the web subfolder?

from github-action.

shicholas avatar shicholas commented on May 18, 2024

from github-action.

bahmutov avatar bahmutov commented on May 18, 2024

I will mark this as a duplicate of #55 which should be fixed very soon

from github-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.