Skip to content

Commit

Permalink
fix: use bash for both window and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Mar 20, 2024
1 parent b7a5eaa commit 76d7008
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
strategy:
fail-fast: true
matrix:
node-version: [20]
node-version: [18, 20]
python-version: ["3.11"]
os: [windows-latest]
os: [macos-latest, windows-latest]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -49,20 +49,11 @@ jobs:
- name: Install
run: pnpm run install-local
working-directory: .
- name: Run Playwright tests (macOS)
if: matrix.os == 'macos-latest'
- name: Run Playwright tests
run: pnpm run e2e
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
working-directory: .
shell: bash
- name: Run Playwright tests (Windows)
if: matrix.os == 'windows-latest'
run: pnpm run e2e
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
working-directory: .
shell: bash
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit 76d7008

Please sign in to comment.