Skip to content

Commit

Permalink
Fix working directory for E2E tests in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-miguel committed Jun 27, 2024
1 parent 06d57de commit c0e94c0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/clientBuildAndDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,22 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.x
# Installs your project dependencies using npm ci
- name: Install dependencies
# Installs your project dependencies on client directory using npm ci
- name: Install client dependencies
run: npm ci

- name: Install server dependencies
run: npm ci
working-directory: ../server

# Builds your application using your package.json's build script
- name: Build app
run: npm run build

# Run E2E tests
- name: Run E2E tests
run: npx playwright test
working-directory: ./server
working-directory: ../server

# Deploys your application to AWS S3
# - name: Deploy
Expand Down

0 comments on commit c0e94c0

Please sign in to comment.