Skip to content

Commit

Permalink
fix: update test.yml Github Action with correct commands
Browse files Browse the repository at this point in the history
  • Loading branch information
amalv committed Feb 24, 2024
1 parent 2211017 commit b2840c8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,11 @@ jobs:
- name: Install dependencies
run: bun install
- name: Run unit tests
run: bun test
run: bun run test

e2e-tests:
runs-on: ubuntu-latest
steps:
- name: List all artifacts
run: |
curl -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/actions/artifacts
- name: Download deploy URL
id: download-artifact
uses: dawidd6/action-download-artifact@v3
Expand All @@ -71,9 +66,9 @@ jobs:
- name: Install dependencies
run: bun install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: bunx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: bunx playwright test
env:
VITE_AUTH0_TEST_USERNAME: ${{ secrets.VITE_AUTH0_TEST_USERNAME }}
VITE_AUTH0_TEST_PASSWORD: ${{ secrets.VITE_AUTH0_TEST_PASSWORD }}
Expand Down

1 comment on commit b2840c8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.